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: 8.8 kB

HITS: 2752

  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. - shell_exec('echo lbadwath | /usr/bin/sudo -S /root/dalUser.sh | /usr/bin/sudo h');
  19. - shell_exec('echo lbadwath | /usr/bin/sudo -S /root/addUser.sh | /usr/bin/sudo h');
  20. (qualquer bug ai por o -S do 2o sudo tb ....)
  21. O bang são 4 acoes na VPS, addUser.sh | menu, addTestUser.sh | menu, delUser.sh | menu n editUserDays.sh | menu
  22. (addd user no kirito tem 1 enter inicial(apos escoçher opcao). tem um 'n' como padrao la :P)
  23. servidor | IP, root n ssh pass of PC -> NO GRAPHIC!
  24. usuario | revs -> NO GRAPHIC!
  25. acesso_servidor | n acessos rev
  26. usuarios_ssh | *.* :p
  27. -shell_exec as engine to display online users???? well... exec() will do the job w script ;)
  28. 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.
  29. Infos p Operação do DB
  30. ----------------------
  31. - 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
  32. Work
  33. ------------
  34. - shell_exec() retorna a saida do comando(vide BACK.txt on BeeLink xamp)
  35. - criaUser.sh(on v2ray machine) tinindo pra criar user via shell_exec() _\|o
  36. - Elaborar script pra retornar os user e seus dias...
  37. - 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
  38. ●exec/\ addUser.sh | menu
  39. ---------------------x
  40. #!/bin/bash
  41. sleep "0.5"
  42. echo "1"
  43. sleep "0.5"
  44. sleep "0.5"
  45. echo "bolao"
  46. sleep "0.5"
  47. echo "bolao"
  48. sleep "0.5"
  49. echo "bolao"
  50. sleep "0.5"
  51. echo "1"
  52. sleep "0.5"
  53. echo "1"
  54. sleep "0.5"
  55. echo "/n"
  56. echo "0"
  57. echo "0"
  58. echo "0"
  59. ●exec/\ delUser.sh | menu
  60. ---------------------
  61. #!/bin/bash
  62. sleep "0.5"
  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. -Criar Conta ssh
  75. ------------------------
  76. ALERT Users devem ter, no max, 10 caracteres. Não utilize caracteres especiais (@!#$%&*¨.;:) e nem espaços no usuário e senha!!! ALERT
  77. *Servidor - Lista
  78. *$nomeServ - $ip - $n Conexões
  79. *Quem será o Dono? (Crie uma revenda caso não exista nenhuma!) - Lista
  80. *$nomeRevenda
  81. *Usuario - 1linha - Etiqueta->Digite o Login...
  82. *Senha - 1linha - etiqueta->randomnumber6d
  83. *Validade em Dias - Seletor numerico 1+1
  84. - Criar(verde) - Limpar(vermelho) -
  85. I752ofYu7ag
  86. SQL deploy on ciblog git page
  87. P1
  88. -extracting
  89. -url fix tech config
  90. --ONLY PROBLEM WITH UNROUTED SYSTEMS IS THAT IT EXPOSED CONTROLLERS N METHODS(consenquently urs arguments) NAMES ON URI :P
  91. -27:00 DB-without slug return table. with return row ;)
  92. -identing the H-F view structure
  93. -autoloading url helper
  94. -database deploy
  95. -post_model n model __construct
  96. -db tool get_where n get table
  97. -db config
  98. -resulting array of db tool get injection
  99. -php syntax to direct html iteration(altos loop tb. loop nos array de dados e paaa)
  100. -managing assets(css bootstrap, JS)
  101. -mixing some php calls in html posts index view
  102. -individual db data post view
  103. P2
  104. -form_validation required rule
  105. -create_post model insert function
  106. -demonstrating input->post model iteration
  107. -db tool tracing system basic demo
  108. -a simple del data button
  109. -some attention to CI URI com. XD
  110. -db tracing system to del specifc data
  111. -update db data tech
  112. -CKEditor ing fields xD
  113. -instaling some CKEditor text tool in the foot area
  114. P3
  115. -text helper n word_limiter function
  116. -another db trace query on mod
  117. -an synbiosed foreach pulsating data on html view to list generation
  118. -tracing tech n joining table operation
  119. -using loop generated list
  120. -form n control to upload file
  121. P4
  122. -more validation n open multipart form
  123. -more inserting data using the category_model
  124. -index function n ur links wow 0/
  125. ... within an funny cat column generation engine :3
  126. -geting 1 colum to controler, of 1 row o data retrievide from model tech
  127. -order by w join sql where tracing
  128. -showing the categorized results of tech avove deployed
  129. P5
  130. -remembering to autoload ur models
  131. -'in view' more form linking tech
  132. -passing hidden parameters through form to post processing :3
  133. -input->post tool through controler
  134. -form email validation rules
  135. -inserting an simple html form data in db
  136. -attention that form dont accept diferebt rules at same time
  137. -getting post by slug throught control
  138. -more get where model tec
  139. -php ifelse n loop within html mofo
  140. P6
  141. -php user CRUD n form w mix controller form rules
  142. /\best way to views forms also
  143. -password encrypt n how it go from control to model
  144. -view linking XD
  145. -session->flashdata tool registration on header n setted on controller
  146. /\session data traveling 0/
  147. -simple controller logic to check if specific data already exists in db
  148. ... nnn ilustrate form_validation->set_message tool
  149. -model work to check existent data
  150. -form_validation->set_rules callback_controlerBOOLFunction property for db live check n set_message also
  151. -1 row where retrive. email/username exists?
  152. P7
  153. ...continuating the CRUD login page
  154. -header edit option panel
  155. -more pass encryption n user exist verification
  156. -loging user throught model n an complete 1 column of data trace ex
  157. -session->set_userdata tool intr
  158. -unssetting all userdata...
  159. -injecting some php to header view for user based show off
  160. -implementing user control security on controlers throughr session->userdata tool verification
  161. -finalizing the data on db insert tech by geting session_userdata data XD
  162. -comparing userdata w model retrieve column of 1 row
  163. P8
  164. -db results pag w pagination-> tool
  165. -inserting the pag property to an get table results model function
  166. -adding it fuckery to visual view
  167. -session->userdata use to show off view elements to certain user(s)
  168. -some simple CRUD delete model
  169. -more session->flashdata on header show off
  170. -more session->userdata throught model to implement user-created data throught user_id column
  171. CHATGPT Gerar prompt que gera código colado(engenharia reversa) -> ATDDoqv-YkE
  172. CHATGPT -> CODIGO PHP PRA GUI FORMS
  173. --------------------
  174. -Crie um codigo PHP para um sistema de compras com os campos Produto e Quantidade. use Javascript e Bootstrap tema darkly
  175. CHATGPT -> CODIGO PHP PRA GUIDE FORMS DATA n SHOW GUI THIS SHIT
  176. --------------------
  177. -reescreva o codigo de forma que os produtos sejam armazenados em um arquivo com o nome compras.txt
  178. -Crie um codigo PHP para um arquivo que sera nomeado para produtos.php que devera exibir os dados do arquivo compras.txt
  179. -Adicione um botao para exibir a pagina index.php
  180. CHATGPT -> CODIGO PHP PRA INCLUDE ELEMENTS ON GUI SHIT LIST
  181. --------------------
  182. -Adicione um botao para excluir produtos da lista de compras
  183. CHATGPT -> CODIGO PHP PRA INCLUDE ELEMENTS ON OTHER GUI
  184. --------------------
  185. -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
  186. CODIGO DE INDEX.PHP
  187. -Coloque no codigo abaixo a soma do campo quantidade, a soma deve ser exibida no topo direito ao lado da frase produtos comprados
  188. CODIGO DE PRODUTOS.PHP(LISTA DE COMRPAS)
  189. MISC
  190. ------
  191. Ajax extranet
  192. 44w-jw9Y_PY
  193. SQL Tech to Search Filters Engine
  194. 2XuxFi85GTw
  195. 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