forum stepTV stepSTALKER sweatshop email Home

Go Back   The Drunken stepFORUM - A place to discuss your worthless opinions > General Discussion: > I am - Getting Drunk & Molesting You

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2009, 03:36 AM
satan666
 

Posts: n/a
Credits: 0 [Check]
Default What one guy did to the people stealing his wireless web access

check out what this guy did to wreak a little havoc on assholes who steal his internet (scroll down for the pics). Jeesh, what kind of people steal internet access anyways?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Upside-Down-Ternet

My neighbours are stealing my wireless internet access. I could encrypt it or alternately I could have fun


Split the network
I'm starting here by splitting the network into two parts, the trusted half and the untrusted half. The trusted half has one netblock, the untrusted a different netblock. We use the DHCP server to identify mac addresses to give out the relevant addresses.

/etc/dhcpd.conf

ddns-updates off;
ddns-update-style interim;
authoritative;

shared-network local {

subnet *.*.*.* netmask 255.255.255.0 {
range *.*.*.* *.*.*.*;
option routers *.*.*.*;
option subnet-mask 255.255.255.0;
option domain-name "XXXXX";
option domain-name-servers *.*.*.*;
deny unknown-clients;

host trusted1 {
hardware ethernet *:*:*:*:*:*;
fixed-address *.*.*.*;
}
}

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.10;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
allow unknown-clients;

}
}



IPtables is Fun!

Suddenly everything is kittens! It's kitten net.

/sbin/iptables -A PREROUTING -s 192.168.0.0/255.255.255.0 -p tcp -j DNAT --to-destination 64.111.96.38

For the uninitiated, this redirects all traffic to kittenwar.

For more fun, we set iptables to forward everything to a transparent squid proxy running on port 80 on the machine.

/sbin/iptables -A PREROUTING -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.0.1

That machine runs squid with a trivial redirector that downloads images, uses mogrify to turn them upside down and serves them out of it's local webserver.

The redirection script

#!/usr/bin/perl
$|=1;
$count = 0;
$pid = $$;
while (<>) {
chomp $_;
if ($_ =~ /(.*\.jpg)/i) {
$url = $1;
system("/usr/bin/wget", "-q", "-O","/space/WebPages/images/$pid-$count.jpg", "$url");
system("/usr/bin/mogrify", "-flip","/space/WebPages/images/$pid-$count.jpg");
print "http://127.0.0.1/images/$pid-$count.jpg\n";
}
elsif ($_ =~ /(.*\.gif)/i) {
$url = $1;
system("/usr/bin/wget", "-q", "-O","/space/WebPages/images/$pid-$count.gif", "$url");
system("/usr/bin/mogrify", "-flip","/space/WebPages/images/$pid-$count.gif");
print "http://127.0.0.1/images/$pid-$count.gif\n";

}
else {
print "$_\n";;
}
$count++;
}




Then the internet looks like this!







And if you replace flip with -blur 4 you get the blurry-net



I made xkcd - how cool is that ?


Here's an email I received from Fraser at kittenwar,

Code:
Content, Pictures  and Download links visible to registered users only. 

REGISTER NOW to access all areas that are invisible to non-members.



source
Code:
Content, Pictures  and Download links visible to registered users only. 

REGISTER NOW to access all areas that are invisible to non-members.
Reply With Quote
  #2  
Old 08-11-2009, 07:10 AM
chilansl chilansl is offline
the burning and itching has stopped
 

Join Date: Apr 2008
Posts: 80
Credits: 2,313
chilansl has a spectacular aurachilansl has a spectacular aurachilansl has a spectacular aura
Default

I did the upside down image proxy trick to my office for April Fool's day last year. It was not as amusing as I had hoped since people merely thought it was a new virus. Ah well.
Reply With Quote
  #3  
Old 08-11-2009, 08:45 AM
Expletive's Avatar
Expletive Expletive is offline
Cluster-Bomb this MothaFucka!
 

Join Date: Oct 2008
Posts: 1,499
Credits: 47,951
Expletive has a spectacular auraExpletive has a spectacular auraExpletive has a spectacular auraExpletive has a spectacular aura
Default

Thank you SATA, I'm copying and pasting the whole lot in note pad, though i may not be as talented as you; i can hock it well enough. you rock dude.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
WE CANNOT POLICE EVERYTHING POSTED - IF YOU SEE YOUR COPYRIGHT MATERIAL - SEND US AN EMAIL AND WE WILL MAKE SURE TO REMOVE IT!Ad Management plugin by RedTyger