码迷,mamicode.com
首页 > 编程语言 > 详细

python植入后门backdoor程序的方法?

时间:2018-12-18 10:55:04      阅读:292      评论:0      收藏:0      [点我收藏+]

标签:connect   python   hello   rom   html   port   bsp   from   telnet   

后门程序

from gevent.backdoor import BackdoorServer
server = BackdoorServer((127.0.0.1, 5001),
                        banner="Hello from gevent backdoor!",
                        locals={foo: "From defined scope!"})
server.serve_forever()

使用telnet链接后门,可以使用里面的python编译器查看程序运行情况

$ telnet 127.0.0.1 5001
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is ^].
Hello from gevent backdoor!
>> print(foo)
From defined scope!

 

 

http://www.gevent.org/api/gevent.backdoor.html

python植入后门backdoor程序的方法?

标签:connect   python   hello   rom   html   port   bsp   from   telnet   

原文地址:https://www.cnblogs.com/shengulong/p/10134863.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!