{"id":345,"date":"2014-07-07T08:08:14","date_gmt":"2014-07-07T08:08:14","guid":{"rendered":"http:\/\/www.hackwhackandsmack.com\/?p=345"},"modified":"2014-07-07T08:08:14","modified_gmt":"2014-07-07T08:08:14","slug":"metasploit-payload-generator-script-paygen","status":"publish","type":"post","link":"https:\/\/www.hackwhackandsmack.com\/?p=345","title":{"rendered":"Metasploit Payload Generator Script &#8211; paygen"},"content":{"rendered":"<p>Hi,<\/p>\n<p>When testing I always find myself doing more advanced exploitation on boxes and mostly use metasploit to do all these tasks, however I always forget the exact syntax for creating a metasploit payload and then setting up a multi\/handler.<\/p>\n<p>Obviously there is a load of easy ways to do this but I thought I would create a simple python script that basically takes your IP from eth0, then asks\u00a0what type of payload to create and the output location. Once it has generated this is will create a multi\/handler session with all the same settings ready for you. This then makes it terribly easy to run paygen then double click file from my samba share.<\/p>\n<p>It could be improved by adding AV bypass techniques such as veil or ultimate payload but for now I have just done the basics. Anyway here is the script paygen, let me know thoughts, suggestions, insults etc&#8230;&#8230;<\/p>\n<p><a href=\"http:\/\/www.hackwhackandsmack.com\/paygen.py\" target=\"_blank\"><strong>PAYGEN<\/strong><\/a><\/p>\n<p>Have fun \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, When testing I always find myself doing more advanced exploitation on boxes and mostly use metasploit to do all these tasks, however I always forget the exact syntax for creating a metasploit payload and then setting up a multi\/handler. Obviously there is a load of easy ways to do this but I thought I&hellip; <a class=\"more-link\" href=\"https:\/\/www.hackwhackandsmack.com\/?p=345\">Continue reading <span class=\"screen-reader-text\">Metasploit Payload Generator Script &#8211; paygen<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts\/345"}],"collection":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":1,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":346,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions\/346"}],"wp:attachment":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}