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

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