-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 ;) - NOW: mysql -u root -p CREATE USER 'user'@'%' IDENTIFIED BY 'pass'; GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES; Now log with user ------------------------- HOW OPERATE SCRIPT by exec()? ------------------------- Well... first sudo gedit /etc/apache2/envvars change : export APACHE_RUN_USER=www-data ...to flare export APACHE_RUN_GROUP=www-data ...to flare To an `flare` user adduser`d for permit sudo prompting... becauze www-data dont permit this - add Flare to sudo group -> usermod -aG sudo flare .... groups flare to verify - exec('echo lbadwath | sudo -S /root/editUser.sh carloo 23 | sudo -S menu'); - exec('echo lbadwath | sudo -S /root/delUser.sh carloo | sudo -S menu'); - exec('echo lbadwath | sudo -S /root/addUser.sh carloo 17 | sudo -S menu'); - Por todos os scripts em chown flare:flare e deixar flare sempre sudado ;) - essas operações podem requerer f5's do usuario final para serem completadas... essas operações exigem queo flare esteja sudoedado O bang são 4 acoes na VPS, addUser.sh | menu, addTestUser.sh | menu, delUser.sh | menu n editUserDays.sh | menu (addd user no kirito tem 1 enter inicial(apos escoçher opcao). tem um 'n' como padrao la :P) servidor | IP, root n ssh pass of PC -> NO GRAPHIC! usuario | revs -> NO GRAPHIC! acesso_servidor | n acessos rev usuarios_ssh | *.* :p -shell_exec as engine to display online users? 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. Infos p Operação do DB ---------------------- - 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 Work ------------ - 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 ●exec/\ addUser.sh carloo 17 | menu ---------------------x #!/bin/bash sleep "0.5" echo "1" sleep "0.5" sleep "0.5" echo "$1" sleep "0.5" echo "$1" sleep "0.5" echo "$1" sleep "0.5" echo "$2" sleep "0.5" echo "1" sleep "0.5" echo "/n" echo "0" echo "0" echo "0" ●exec/\ delUser.sh carloo | menu --------------------- #!/bin/bash sleep "0.5" echo "3" sleep "0.5" echo "1" sleep "0.5" echo "$1" echo "/n" echo "/n" echo "0" echo "0" echo "0" ●exec/\ editUser.sh carloo 23 | menu --------------------- #!/bin/bash sleep "0.5" sleep "0.5" echo "5" sleep "0.5" echo "$1" sleep "0.5" echo "$2" sleep "0.5" sleep "5" echo "0" echo "0" echo "0" -Criar Conta ssh ------------------------ ALERT Users devem ter, no max, 10 caracteres. Não utilize caracteres especiais (@!#$%&*¨.;:) e nem espaços no usuário e senha!!! ALERT *Servidor - Lista *$nomeServ - $ip - $n Conexões *Quem será o Dono? (Crie uma revenda caso não exista nenhuma!) - Lista *$nomeRevenda *Usuario - 1linha - Etiqueta->Digite o Login... *Senha - 1linha - etiqueta->randomnumber6d *Validade em Dias - Seletor numerico 1+1 - Criar(verde) - Limpar(vermelho) - I752ofYu7ag SQL deploy on ciblog git page P1 -extracting -url fix tech config --ONLY PROBLEM WITH UNROUTED SYSTEMS IS THAT IT EXPOSED CONTROLLERS N METHODS(consenquently urs arguments) NAMES ON URI :P -27:00 DB-without slug return table. with return row ;) -identing the H-F view structure -autoloading url helper -database deploy -post_model n model __construct -db tool get_where n get table -db config -resulting array of db tool get injection -php syntax to direct html iteration(altos loop tb. loop nos array de dados e paaa) -managing assets(css bootstrap, JS) -mixing some php calls in html posts index view -individual db data post view P2 -form_validation required rule -create_post model insert function -demonstrating input->post model iteration -db tool tracing system basic demo -a simple del data button -some attention to CI URI com. XD -db tracing system to del specifc data -update db data tech -CKEditor ing fields xD -instaling some CKEditor text tool in the foot area P3 -text helper n word_limiter function -another db trace query on mod -an synbiosed foreach pulsating data on html view to list generation -tracing tech n joining table operation -using loop generated list -form n control to upload file P4 -more validation n open multipart form -more inserting data using the category_model -index function n ur links wow 0/ ... within an funny cat column generation engine :3 -geting 1 colum to controler, of 1 row o data retrievide from model tech -order by w join sql where tracing -showing the categorized results of tech avove deployed P5 -remembering to autoload ur models -'in view' more form linking tech -passing hidden parameters through form to post processing :3 -input->post tool through controler -form email validation rules -inserting an simple html form data in db -attention that form dont accept diferebt rules at same time -getting post by slug throught control -more get where model tec -php ifelse n loop within html mofo P6 -php user CRUD n form w mix controller form rules /\best way to views forms also -password encrypt n how it go from control to model -view linking XD -session->flashdata tool registration on header n setted on controller /\session data traveling 0/ -simple controller logic to check if specific data already exists in db ... nnn ilustrate form_validation->set_message tool -model work to check existent data -form_validation->set_rules callback_controlerBOOLFunction property for db live check n set_message also -1 row where retrive. email/username exists? P7 ...continuating the CRUD login page -header edit option panel -more pass encryption n user exist verification -loging user throught model n an complete 1 column of data trace ex -session->set_userdata tool intr -unssetting all userdata... -injecting some php to header view for user based show off -implementing user control security on controlers throughr session->userdata tool verification -finalizing the data on db insert tech by geting session_userdata data XD -comparing userdata w model retrieve column of 1 row P8 -db results pag w pagination-> tool -inserting the pag property to an get table results model function -adding it fuckery to visual view -session->userdata use to show off view elements to certain user(s) -some simple CRUD delete model -more session->flashdata on header show off -more session->userdata throught model to implement user-created data throught user_id column CHATGPT Gerar prompt que gera código colado(engenharia reversa) -> ATDDoqv-YkE CHATGPT -> CODIGO PHP PRA GUI FORMS -------------------- -Crie um codigo PHP para um sistema de compras com os campos Produto e Quantidade. use Javascript e Bootstrap tema darkly CHATGPT -> CODIGO PHP PRA GUIDE FORMS DATA n SHOW GUI THIS SHIT -------------------- -reescreva o codigo de forma que os produtos sejam armazenados em um arquivo com o nome compras.txt -Crie um codigo PHP para um arquivo que sera nomeado para produtos.php que devera exibir os dados do arquivo compras.txt -Adicione um botao para exibir a pagina index.php CHATGPT -> CODIGO PHP PRA INCLUDE ELEMENTS ON GUI SHIT LIST -------------------- -Adicione um botao para excluir produtos da lista de compras CHATGPT -> CODIGO PHP PRA INCLUDE ELEMENTS ON OTHER GUI -------------------- -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 CODIGO DE INDEX.PHP -Coloque no codigo abaixo a soma do campo quantidade, a soma deve ser exibida no topo direito ao lado da frase produtos comprados CODIGO DE PRODUTOS.PHP(LISTA DE COMRPAS) MISC ------ SQL Tech to Search Filters Engine - 2XuxFi85GTw 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!