CI_wpanel


SUBMITTED BY: repremaq09

DATE: July 12, 2023, 11:06 a.m.

UPDATED: Sept. 10, 2023, 4:14 a.m.

FORMAT: Text only

SIZE: 9.3 kB

HITS: 2759

  1. -apt install lamp_server^ phpmyadmin, after all this good fuckery ... phpenmod mbstring and systemctl restart apache2. Acess with phpmyadmin n setup pass ;)
  2. - NOW:
  3. mysql -u root -p
  4. CREATE USER 'user'@'%' IDENTIFIED BY 'pass';
  5. GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' WITH GRANT OPTION;
  6. FLUSH PRIVILEGES;
  7. Now log with user
  8. -------------------------
  9. HOW OPERATE SCRIPT by exec()?
  10. -------------------------
  11. Well... first
  12. sudo gedit /etc/apache2/envvars
  13. change :
  14. export APACHE_RUN_USER=www-data ...to flare
  15. export APACHE_RUN_GROUP=www-data ...to flare
  16. To an `flare` user adduser`d for permit sudo prompting... becauze www-data dont permit this
  17. - add Flare to sudo group -> usermod -aG sudo flare .... groups flare to verify
  18. - exec('echo lbadwath | /usr/bin/sudo -S /root/delUser.sh | /usr/bin/sudo -S h');
  19. - exec('echo lbadwath | /usr/bin/sudo -S /root/editUser.sh | /usr/bin/sudo -S h');
  20. - exec('echo lbadwath | /usr/bin/sudo -S /root/addUser.sh | /usr/bin/sudo -S h');
  21. - Por todos os scripts em chown flare:flare e deixar flare sempre sudado ;)
  22. O bang são 4 acoes na VPS, addUser.sh | menu, addTestUser.sh | menu, delUser.sh | menu n editUserDays.sh | menu
  23. (addd user no kirito tem 1 enter inicial(apos escoçher opcao). tem um 'n' como padrao la :P)
  24. servidor | IP, root n ssh pass of PC -> NO GRAPHIC!
  25. usuario | revs -> NO GRAPHIC!
  26. acesso_servidor | n acessos rev
  27. usuarios_ssh | *.* :p
  28. -shell_exec as engine to display online users???? well... exec() will do the job w script ;)
  29. shell_exec() function is an inbuilt function in PHP that is used to execute the commands via shell and return the complete output as a string. The exec() function is an inbuilt function in PHP that is used to execute an external program and returns the last line of the output.
  30. Infos p Operação do DB
  31. ----------------------
  32. - A funcao Revendedores, da aba "REVENDAS" é inutil. Pois basta substituir as colunas "SERVIDOR" e "ENDERECO IP" por "Login" e "Senha", da funcao "Alterar Revenda", da mesma aba, que essa ultima fará todo o trampo
  33. Work
  34. ------------
  35. - shell_exec() retorna a saida do comando(vide BACK.txt on BeeLink xamp)
  36. - criaUser.sh(on v2ray machine) tinindo pra criar user via shell_exec() _\|o
  37. - Elaborar script pra retornar os user e seus dias...
  38. - Usar os MySQL Triggers pra proibir uso de users duplicados e os carai ;) ... try{}else{} capta o erro MySQL e processa antes do cmd de inserir no script
  39. ●exec/\ addUser.sh | menu
  40. ---------------------x
  41. #!/bin/bash
  42. sleep "0.5"
  43. echo "1"
  44. sleep "0.5"
  45. sleep "0.5"
  46. echo "bolao"
  47. sleep "0.5"
  48. echo "bolao"
  49. sleep "0.5"
  50. echo "bolao"
  51. sleep "0.5"
  52. echo "1"
  53. sleep "0.5"
  54. echo "1"
  55. sleep "0.5"
  56. echo "/n"
  57. echo "0"
  58. echo "0"
  59. echo "0"
  60. ●exec/\ delUser.sh | menu
  61. ---------------------
  62. #!/bin/bash
  63. sleep "0.5"
  64. echo "3"
  65. sleep "0.5"
  66. echo "1"
  67. sleep "0.5"
  68. echo "bolao"
  69. sleep "0.5"
  70. echo "/n"
  71. echo "0"
  72. echo "0"
  73. echo "0"
  74. ●exec/\ editUser.sh | menu
  75. ---------------------
  76. #!/bin/bash
  77. sleep "0.5"
  78. sleep "0.5"
  79. echo "5"
  80. sleep "0.5"
  81. echo "bolao"
  82. sleep "0.5"
  83. echo "15"
  84. sleep "0.5"
  85. sleep "5"
  86. echo "0"
  87. echo "0"
  88. echo "0"
  89. -Criar Conta ssh
  90. ------------------------
  91. ALERT Users devem ter, no max, 10 caracteres. Não utilize caracteres especiais (@!#$%&*¨.;:) e nem espaços no usuário e senha!!! ALERT
  92. *Servidor - Lista
  93. *$nomeServ - $ip - $n Conexões
  94. *Quem será o Dono? (Crie uma revenda caso não exista nenhuma!) - Lista
  95. *$nomeRevenda
  96. *Usuario - 1linha - Etiqueta->Digite o Login...
  97. *Senha - 1linha - etiqueta->randomnumber6d
  98. *Validade em Dias - Seletor numerico 1+1
  99. - Criar(verde) - Limpar(vermelho) -
  100. I752ofYu7ag
  101. SQL deploy on ciblog git page
  102. P1
  103. -extracting
  104. -url fix tech config
  105. --ONLY PROBLEM WITH UNROUTED SYSTEMS IS THAT IT EXPOSED CONTROLLERS N METHODS(consenquently urs arguments) NAMES ON URI :P
  106. -27:00 DB-without slug return table. with return row ;)
  107. -identing the H-F view structure
  108. -autoloading url helper
  109. -database deploy
  110. -post_model n model __construct
  111. -db tool get_where n get table
  112. -db config
  113. -resulting array of db tool get injection
  114. -php syntax to direct html iteration(altos loop tb. loop nos array de dados e paaa)
  115. -managing assets(css bootstrap, JS)
  116. -mixing some php calls in html posts index view
  117. -individual db data post view
  118. P2
  119. -form_validation required rule
  120. -create_post model insert function
  121. -demonstrating input->post model iteration
  122. -db tool tracing system basic demo
  123. -a simple del data button
  124. -some attention to CI URI com. XD
  125. -db tracing system to del specifc data
  126. -update db data tech
  127. -CKEditor ing fields xD
  128. -instaling some CKEditor text tool in the foot area
  129. P3
  130. -text helper n word_limiter function
  131. -another db trace query on mod
  132. -an synbiosed foreach pulsating data on html view to list generation
  133. -tracing tech n joining table operation
  134. -using loop generated list
  135. -form n control to upload file
  136. P4
  137. -more validation n open multipart form
  138. -more inserting data using the category_model
  139. -index function n ur links wow 0/
  140. ... within an funny cat column generation engine :3
  141. -geting 1 colum to controler, of 1 row o data retrievide from model tech
  142. -order by w join sql where tracing
  143. -showing the categorized results of tech avove deployed
  144. P5
  145. -remembering to autoload ur models
  146. -'in view' more form linking tech
  147. -passing hidden parameters through form to post processing :3
  148. -input->post tool through controler
  149. -form email validation rules
  150. -inserting an simple html form data in db
  151. -attention that form dont accept diferebt rules at same time
  152. -getting post by slug throught control
  153. -more get where model tec
  154. -php ifelse n loop within html mofo
  155. P6
  156. -php user CRUD n form w mix controller form rules
  157. /\best way to views forms also
  158. -password encrypt n how it go from control to model
  159. -view linking XD
  160. -session->flashdata tool registration on header n setted on controller
  161. /\session data traveling 0/
  162. -simple controller logic to check if specific data already exists in db
  163. ... nnn ilustrate form_validation->set_message tool
  164. -model work to check existent data
  165. -form_validation->set_rules callback_controlerBOOLFunction property for db live check n set_message also
  166. -1 row where retrive. email/username exists?
  167. P7
  168. ...continuating the CRUD login page
  169. -header edit option panel
  170. -more pass encryption n user exist verification
  171. -loging user throught model n an complete 1 column of data trace ex
  172. -session->set_userdata tool intr
  173. -unssetting all userdata...
  174. -injecting some php to header view for user based show off
  175. -implementing user control security on controlers throughr session->userdata tool verification
  176. -finalizing the data on db insert tech by geting session_userdata data XD
  177. -comparing userdata w model retrieve column of 1 row
  178. P8
  179. -db results pag w pagination-> tool
  180. -inserting the pag property to an get table results model function
  181. -adding it fuckery to visual view
  182. -session->userdata use to show off view elements to certain user(s)
  183. -some simple CRUD delete model
  184. -more session->flashdata on header show off
  185. -more session->userdata throught model to implement user-created data throught user_id column
  186. CHATGPT Gerar prompt que gera código colado(engenharia reversa) -> ATDDoqv-YkE
  187. CHATGPT -> CODIGO PHP PRA GUI FORMS
  188. --------------------
  189. -Crie um codigo PHP para um sistema de compras com os campos Produto e Quantidade. use Javascript e Bootstrap tema darkly
  190. CHATGPT -> CODIGO PHP PRA GUIDE FORMS DATA n SHOW GUI THIS SHIT
  191. --------------------
  192. -reescreva o codigo de forma que os produtos sejam armazenados em um arquivo com o nome compras.txt
  193. -Crie um codigo PHP para um arquivo que sera nomeado para produtos.php que devera exibir os dados do arquivo compras.txt
  194. -Adicione um botao para exibir a pagina index.php
  195. CHATGPT -> CODIGO PHP PRA INCLUDE ELEMENTS ON GUI SHIT LIST
  196. --------------------
  197. -Adicione um botao para excluir produtos da lista de compras
  198. CHATGPT -> CODIGO PHP PRA INCLUDE ELEMENTS ON OTHER GUI
  199. --------------------
  200. -Adicione um botao ao lado do botao adicionar para exibir o arquivo produtos.php e modifique o codigo para exibir o arquivo produtos.php sempre que um novo produto for adicionado no codigo abaixo
  201. CODIGO DE INDEX.PHP
  202. -Coloque no codigo abaixo a soma do campo quantidade, a soma deve ser exibida no topo direito ao lado da frase produtos comprados
  203. CODIGO DE PRODUTOS.PHP(LISTA DE COMRPAS)
  204. MISC
  205. ------
  206. Ajax extranet
  207. 44w-jw9Y_PY
  208. SQL Tech to Search Filters Engine
  209. 2XuxFi85GTw
  210. An Bridge conn can be created to ship same udt/tcp packages to conns/nics on her. Yes... The SAME! Its alwsome for VirtualBox network system!

comments powered by Disqus