This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias escape="python -c $'import sys; a = sys.stdin; f = a.readlines()[0].strip(); print 2*'\''\\\\'\''+'\''x'\''+(2*'\''\\\\'\''+'\''x'\'').join([f[x:x+2] for x in range(len(f))][0::2])'" | |
alias a2e='echo -e "#include <stdio.h>\n#include <string.h>\nunsigned char shellcode[]=\"$(</dev/stdin)\";\nint main(){__asm__(\"call shellcode\");}" | gcc -m32 -fno-stack-protector -z execstack -o elf -xc -' | |
alias ee='python -c "from pwn import *; print asm(shellcraft.i386.linux.echo(\"$(</dev/stdin)\")+shellcraft.i386.linux.exit(), arch=\"i386\").encode(\"hex\")"' | |
alias ea2e='escape|a2e' | |
alias ea2ee='escape|a2e;./elf' | |
x () { echo $1 | ea2ee ;} | |
alias e=x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/var n,i;n=e,i=function(){var e="retain",t=document,n={}.hasOwnProperty;function i(){return r.apply(null,arguments)||a.apply(null,arguments)}function r(e,t,n,r,o){if(t&&!t.nodeType&&arguments.length<=2)return!1;var s,l="function"==typeof n;l&&(s=n,n=function(e,t){return s(e.text,t.startIndex)});var d=a(t,{find:e,wrap:l?null:n,replace:l?n:"$"+(r||"&"),prepMatch:function(e,t){if(!e[0])throw"findAndReplaceDOMText cannot handle zero-length matches";if(r>0){var n=e[r];e.index+=e[0].indexOf(n),e[0]=n}return e.endIndex=e.index+e[0].length,e.startIndex=e.index,e.index=t,e},filterElements:o});return i.revert=function(){return d.revert()},!0}function a(e,t){return new o(e,t)}function o(t,r){var a=r.preset&&i.PRESETS[r.preset];if(r.portionMode=r.portionMode||e,a)for(var o in a)n.call(a,o)&&!n.call(r,o)&&(r[o]=a[o]);this.node=t,this.options=r,this.prepMatch=r.prepMatch||this.prepMatch,this.reverts=[],this.matches=this.search(),this.matches.length&&this.processMatches()}return i.NON_PROSE_ELEMENTS={br:1,hr:1,script:1,st |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** $Id: lcrypto.c,v 1.2 2006/08/25 03:24:17 nezroy Exp $ | |
** See Copyright Notice in license.html | |
*/ | |
#include <string.h> | |
#include <openssl/err.h> | |
#include <openssl/evp.h> | |
#include <openssl/hmac.h> | |
#include <openssl/rand.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying myself: My Bitcoin username is +rodomonte. https://onename.io/rodomonte |