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