Skip to content

Instantly share code, notes, and snippets.

@Viss
Created March 14, 2017 02:15
Show Gist options
  • Save Viss/f32ddc67e62f8b7bb160e59c8c7bff64 to your computer and use it in GitHub Desktop.
Save Viss/f32ddc67e62f8b7bb160e59c8c7bff64 to your computer and use it in GitHub Desktop.
logshove
first, create a bash script, put this in it.
#!/bin/bash
while IFS='' read -r line || [[ -n "$line" ]]; do
curl --user-agent "$line" <the url you want to troll>
done < "$1"
Name it something dumb. logshove.sh
Next create a file with no url-encodable chars. Make sure every line is the same length. don't use spaces. I used periods.
It's not perfect, but it'll fill logs with threatbutt. (payload is below)
to run it, simply do:
chmod +x logshove.sh
./logshove threatbutt.txt
You could probably tweak the script to take the destination url as input, but I was lazy.
If you have an apache webserver, test it on yourself first if you want to validate that it looks right.
Have fun!
.......................,,,,;-;,,..............................................................................
...............,,;#################,..........................................................................
.............,########################,.......................................................................
...........,###########################>......................................................................
.........,###############################,....................................................................
.......,##################################>...................................................................
......,####################################>..................................................................
.....,######################^^',''''$#######,.................................................................
....,####################H,;#####H##;^$#####>.................................................................
....$#################^',##$HHH$$..'H#,$#####>.......................................,;#####,,,...............
...;##,,'^^???########.;#$HHHHH$$...'$#^#####>......................................##^'..'''^H#####,,,,......
..######HH##,.H#######.#$HHHHH$$^....$#.$#####>....................................##>............''^HH###,...
;#HHHHH$,.'H#>I######>$#$HHHHH$^....##^,#######...................................;##....,,.............'?##..
#$HHHHHH$^...$########>^#$$''''..,;###,#########,..................................##'...'^^..##.,,........;##
#$HHHHHH$...$##########,.'H###########^,,'#######.................................##>....##..,...^?'.$#>...$#^
$HHHHH>',,##################-####H^,@@@@@^$######>...............................:##.....''.^H^.$#..,##...$#^.
'$$$####?';################H^,;@@@@^'..,,########...............................$#'...'##.,;,...'..$#'..;##...
.$##,,;###############H^,,@@@@@^'..,,#########HH##.............................$#>....,,..'^'.##'.$#>...$#'...
.$##############H^,,@@@@@@^^'.,,#########H^'...'$#>...........................;##....'?^.$#>.,,..;##...$#>....
.'#######H^',@@@@@@@^'....,-#######H^^..........^##,.........................,##'...,##.,,..'^?..##'..;##.....
.'$#'.,@@@@@@@@^'..,,,-########H'................H##,........................$#>.....'.'H#'.##..$#>...$#'.....
..$#'@@@^'',,,###########^'''.............,.......I##>.............,,,;########....$#>.;,...''.;##...$#'......
..I################^^'...............#,..'$#>......^##>.........,###HH^'''''$#^...,,...'^.:##..##'..;##.......
...$########H^^......................'$#..'$#.......'$#>.....###H'.........$#>....^?'.##..,,..$#'...##........
...^##''..............................'$,..'#>.......'$##..###'..,,.....,,#############,,^H^.;##...$#^........
....$#>................................'#...H#>.......I#####'...'H########^^'''''''''''^HH#####'..;#>.........
....'#>.................................$#..'$#........^###'...,....$##^^..................'$#>...##..........
....'$#,................................'#,..I#>........'$#...'^^.,##........................'##,$#'..........
.....:##.................................H#...?#>.........^#.....##^..........................'####...........
......$##................................'$>..'$#...............'H'........,#..................?##'...........
......'##>................................^#,..H#-........................;#'..................'##............
.......'$#,...............................'$#..'#>.............................................,##............
........'H#>...............................'$#..I###,,,,,......................................$#>............
..........H##...............................^##..''^^^^HH##,...............,..................##>.............
...........^##,.............................##>...##;,,,,;##..............-#'................;##..............
............'$#>...........................$#>?#>.'##HH??^'..................,#.............$##'..............
..............H##,........................'$>..$##,$#,.......................''...........,###................
...............^###.......................'H#,,##$###^...........................^H'.....;##^.................
.................^##>.......................^H^^.......................................####'..................
...................H##,............................................................,;####'....................
....................'H##,..................................................,,,,,######'.......................
......................'H##>,..........................................,,..'H###^^^'...........................
.........................^$##>,...................................,,####>..'$#>...............................
............................'H####,,.........................,,,####?''$#...?#>...............................
...............................'^H#######,,,,,,,,,,,,,;#########H''....$#>..'##>..............................
....................................''^^^HHH$##H$#HHHHHH^^^^'..........'$#...?#>..............................
............................................$#..$#>...........;############..'$#,.............................
...........................................'##..$##...........H##,...'''^H#'..^##.............................
...........................................:#>..$#>............'^###,,.........H#,............................
...........................................$#>..:##...............'^$###;,,....'#>............................
.................................,,,,,.....?##..$##...................'^H#########............................
...............................'###HH####,,;#>..##'.........................''''''............................
................................'##>...'^H###>.'$#............................................................
..................................?###.....^^'.:#>............................................................
....................................^H###,,....##>............................................................
.......................................'^H#######.............................................................
...........................................''^^^'.............................................................
@melboyce
Copy link

You shouldn't need to fool around with IFS; pretty sure not setting it back will make things ugly too. Try this:

url="http://someplace.net/"; while read -r x; do echo "curl --user-agent $x $url"; done < pub/corpora/animal-names.text | bash -ex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment