Jump to content

Use computer to handle all traffic from router?

I'm in the midst of planning a little demo for kids about how unsafe WiFi could be (it's some kind of University studies fair our organization is doing). My plan is to run my own router mimicking the same SSID and password as our building WiFi to bait their devices to connect to a imposter network. Now I have a Java file that listens to a specific port and answers requests (basically a little HTTP server). Now I'm wondering, if I set that Java app set to listen on port 80 on a computer connected to my WiFi router where the Internet Modem should, would it receive any HTTP requests made by devices on my network? I'm thinking the lack of a DNS might make this whole idea fall apart. The router is not connected to the internet, just to my computer in this set up.

 

I want to reply to all HTTP requests with a simple response with the message body "You've been had".

Intel® Core™ i7-12700 | GIGABYTE B660 AORUS MASTER DDR4 | Gigabyte Radeon™ RX 6650 XT Gaming OC | 32GB Corsair Vengeance® RGB Pro SL DDR4 | Samsung 990 Pro 1TB | WD Green 1.5TB | Windows 11 Pro | NZXT H510 Flow White
Sony MDR-V250 | GNT-500 | Logitech G610 Orion Brown | Logitech G402 | Samsung C27JG5 | ASUS ProArt PA238QR
iPhone 12 Mini (iOS 17.2.1) | iPhone XR (iOS 17.2.1) | iPad Mini (iOS 9.3.5) | KZ AZ09 Pro x KZ ZSN Pro X | Sennheiser HD450bt
Intel® Core™ i7-1265U | Kioxia KBG50ZNV512G | 16GB DDR4 | Windows 11 Enterprise | HP EliteBook 650 G9
Intel® Core™ i5-8520U | WD Blue M.2 250GB | 1TB Seagate FireCuda | 16GB DDR4 | Windows 11 Home | ASUS Vivobook 15 
Intel® Core™ i7-3520M | GT 630M | 16 GB Corsair Vengeance® DDR3 |
Samsung 850 EVO 250GB | macOS Catalina | Lenovo IdeaPad P580

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, BlueChinchillaEatingDorito said:

I'm in the midst of planning a little demo for kids about how unsafe WiFi could be (it's some kind of University studies fair our organization is doing). My plan is to run my own router mimicking the same SSID and password as our building WiFi to bait their devices to connect to a imposter network. Now I have a Java file that listens to a specific port and answers requests (basically a little HTTP server). Now I'm wondering, if I set that Java app set to listen on port 80 on a computer connected to my WiFi router where the Internet Modem should, would it receive any HTTP requests made by devices on my network? I'm thinking the lack of a DNS might make this whole idea fall apart. The router is not connected to the internet, just to my computer in this set up.

 

I want to reply to all HTTP requests with a simple response with the message body "You've been had".

I don't know how to do that, but here is another scary option.

 

In search of the future, new tech, and exploring the universe! All under the cover of anonymity!

Link to comment
Share on other sites

Link to post
Share on other sites

18 minutes ago, BlueChinchillaEatingDorito said:

I'm in the midst of planning a little demo for kids about how unsafe WiFi could be (it's some kind of University studies fair our organization is doing). My plan is to run my own router mimicking the same SSID and password as our building WiFi to bait their devices to connect to a imposter network. Now I have a Java file that listens to a specific port and answers requests (basically a little HTTP server). Now I'm wondering, if I set that Java app set to listen on port 80 on a computer connected to my WiFi router where the Internet Modem should, would it receive any HTTP requests made by devices on my network? I'm thinking the lack of a DNS might make this whole idea fall apart. The router is not connected to the internet, just to my computer in this set up.

 

I want to reply to all HTTP requests with a simple response with the message body "You've been had".

Also for the DNS thing if you have an old android phone they have an app for that.

In search of the future, new tech, and exploring the universe! All under the cover of anonymity!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×