unctf2019 pwn部分题解
babyheap
easy,不讲了
1 | #!/usr/bin/env python2 |
easy,不讲了
1 | #!/usr/bin/env python2 |
1 | └──╼ $obs |
Welcome to the brand new Security Consultants Inc. portal!
What would you like to do?
1.) View the Team!
2.) Check the date.
3.) Sign up for our newsletter!
4.) Report a bug.
x.) Exit.
Thanks for signing up for our newsletter!
Please enter your email address below:
I have your email as:
sh;# � �aaaaaaaJ `sh: 1: Is: not found
$
Great! I have your information down as:
Name: Evan Shi
sh: 1: Email:: not found
$ cat flag.txt
tjctf{p0lygl0t_m0r3_l1k3_p0lynot}$
需要将目录设置用户设置为www-data
1 | chown 755 -R 文件目录 |
将目录文件设置为可执行
1 | chmod 775 文件目录 |
本文作者:NoOne
本文地址: https://noonegroup.xyz/posts/8c46c3ca/
版权声明:转载请注明出处!
1 | int __cdecl main(int argc, const char **argv, const char **envp) |
解决方案:将ip改成他本来的ip
比如我docker搭建的题目,我进入docker ifconfig
查看到的ip是172.17.0.6
我就访问172.17.0.6,不访问127.0.0.1就可以抓到包了
本文作者:NoOne
本文地址: https://noonegroup.xyz/posts/ea225533/
版权声明:转载请注明出处!