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: 2764

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