美文网首页
pwnable.kr shellshock之write up

pwnable.kr shellshock之write up

作者: S_s_s_a53f | 来源:发表于2017-08-04 11:47 被阅读0次

上源代码:

#include <stdio.h>
int main(){
    setresuid(getegid(), getegid(), getegid());
    setresgid(getegid(), getegid(), getegid());
    system("/home/shellshock/bash -c 'echo shock_me'");
    return 0;
}

感觉没什么思路,百度查一下shellshock,是一个破壳漏洞,参考链接:

http://www.freebuf.com/articles/system/45390.html

根据链接提供的利用方法写出语句:

图片.png

相关文章

  • pwnable.kr shellshock之write up

    上源代码: 感觉没什么思路,百度查一下shellshock,是一个破壳漏洞,参考链接: 根据链接提供的利用方法写出语句:

  • pwnable.kr mistake之write up

    先看源代码: 补充: 分析一下大致思路是输入的passwd前10位要与1异或,结果与pw_buf相同则输出结果。但...

  • pwnable.kr shellshock

    这题是 shellshock 漏洞的实际应用,之前在整理 web 渗透的时候接触过,但是没有利用过,现在遇到了就记...

  • pwnable.kr coin1之write up

    http://blog.csdn.net/qq_19550513/article/details/62888874

  • CTF write up

    更详细的三叶草sctf http://www.freebuf.com/articles/web/54176.htm...

  • september six-2018

    write an English diary on The next day get up:at seven o'...

  • isg ctf write up

    web1 右键看源码,得到一段js代码 xxe漏洞,添加xxe poc web2 命令注入 url编码查看flag...

  • Bugku Web Write up

    title: Bugku Web Write update: 2019-04-07 11:07:19tags:- ...

  • september Five 2018

    write an English diary on The first day get up:at half pa...

  • path-lookup.md

    Pathname lookup in Linux. This write-up is based on three...

网友评论

      本文标题:pwnable.kr shellshock之write up

      本文链接:https://www.haomeiwen.com/subject/skevlxtx.html