←back to thread

I can see your local web servers

(http.jameshfisher.com)
652 points jamesfisher | 4 comments | | HN request time: 0.557s | source
1. ivolimmen ◴[] No.20028349[source]
I only run on local on ports: 8080, 9090, 9191, 8081, 8082 and 8083. So scanning only on 3000 is a bit narrow...
replies(3): >>20028355 #>>20028359 #>>20028361 #
2. TimWolla ◴[] No.20028355[source]
It does not only scan 3000. From the source code:

      const portsToTry = [
        80, 81, 88,
        3000, 3001, 3030, 3031, 3333,
        4000, 4001, 4040, 4041, 4444,
        5000, 5001, 5050, 5051, 5555,
        6000, 6001, 6060, 6061, 6666,
        7000, 7001, 7070, 7071, 7777,
        8000, 8001, 8080, 8081, 8888,
        9000, 9001, 9090, 9091, 9999,
      ];
3. boffinism ◴[] No.20028359[source]
On my machine it seems to be scanning for lots of ports between :80 and :9999. I think it's using 3000 as an example in the text only.
4. y0ghur7_xxx ◴[] No.20028361[source]
It's not scanning only port 3000:

    const portsToTry = [
      80, 81, 88,
      3000, 3001, 3030, 3031, 3333,
      4000, 4001, 4040, 4041, 4444,
      5000, 5001, 5050, 5051, 5555,
      6000, 6001, 6060, 6061, 6666,
      7000, 7001, 7070, 7071, 7777,
      8000, 8001, 8080, 8081, 8888,
      9000, 9001, 9090, 9091, 9999,
    ];
view-source:http://http.jameshfisher.com/2019/05/26/i-can-see-your-local... :125