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

HITS: 2754

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