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.1 kB

HITS: 2755

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