CI_Oracle_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.5 kB

HITS: 2753

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