{"id":674,"date":"2016-06-18T13:52:30","date_gmt":"2016-06-18T12:52:30","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=674"},"modified":"2016-06-18T13:52:30","modified_gmt":"2016-06-18T12:52:30","slug":"cool-little-script-downloading-stuff","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2016\/06\/18\/cool-little-script-downloading-stuff\/","title":{"rendered":"Cool Little script for downloading stuff"},"content":{"rendered":"<pre>\r\n\r\n#!\/bin\/sh\r\n# just use uuid's instead of sequential numbers hehe\r\n\r\nfor a in `seq 10000000 90000000`;\r\ndo\r\nfor b in `seq 1 10`;\r\ndo\r\n\u202a#\u200eecho\u202c http:\/\/cdn.anonymous.com\/$a\"\"_\"\"$b\"\".user\"\r\necho \"wget http:\/\/cdn.anonymous.com\/$a\"\"_\"\"$b\"\".user\" | bash\r\n#echo \"curl http:\/\/cdn.anonymous.com\/$a\"\"_\"\"$b\".user -o \"($a)\"_\"($b)\".user\"\r\n\r\nfilesize=`ls -al \"$a\"_\"$b\".user | awk '{print $5}'`\r\necho \"FILESIZE= $filesize\"\r\n\r\nif [ \"$filesize\" -eq \"49\" ]\r\nthen\r\necho \"404: Emtpy fakefile HTTP 200 detected! The end of this hidden usergroup was detected\"\r\necho \"Cleaning up..\"\r\nrm \"$a\"_\"$b\".user\r\nbreak;\r\n\r\nelse\r\necho \"200: Continuing \"\r\nfi\r\n\r\nsleep 4\r\n\r\ndone\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>#!\/bin\/sh # just use uuid&#8217;s instead of sequential numbers hehe for a in `seq 10000000 90000000`; do for b in `seq 1 10`; do \u202a#\u200eecho\u202c http:\/\/cdn.anonymous.com\/$a&#8221;&#8221;_&#8221;&#8221;$b&#8221;&#8221;.user&#8221; echo &#8220;wget http:\/\/cdn.anonymous.com\/$a&#8221;&#8221;_&#8221;&#8221;$b&#8221;&#8221;.user&#8221; | bash #echo &#8220;curl http:\/\/cdn.anonymous.com\/$a&#8221;&#8221;_&#8221;&#8221;$b&#8221;.user -o &#8220;($a)&#8221;_&#8221;($b)&#8221;.user&#8221; filesize=`ls -al &#8220;$a&#8221;_&#8221;$b&#8221;.user | &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2016\/06\/18\/cool-little-script-downloading-stuff\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-674","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=674"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/674\/revisions"}],"predecessor-version":[{"id":675,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/674\/revisions\/675"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}