Skip to content

Commit 77111e4

Browse files
author
311ba2 5453bf
committed
Update the data
1 parent f8aa598 commit 77111e4

File tree

4 files changed

+23
-9
lines changed

4 files changed

+23
-9
lines changed

README.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,41 @@
11
# openftp4
22

3-
This is a list of all (796,578) FTP servers directly connected to port 21 in the IPv4 address space that allow anonymous logins. The login must be completed in less than 5 seconds to qualify for this list. How and why this list was created is documented in detail in my blog post [*Mass-analyzing a chunk of the Internet*](http://255.wf/2016-09-18-mass-analyzing-a-chunk-of-the-internet/).
3+
This is a list of all FTP servers directly connected to port 21 in the IPv4 address space that allow anonymous logins. The login must be completed in less than 15 seconds to qualify for this list.
44

5-
You can do whatever you want with this data. Consider linking to this repo if you find something interesting or odd.
5+
How and why this list was created is documented in detail in my blog post [*Mass-analyzing a chunk of the Internet*](http://255.wf/2016-09-18-mass-analyzing-a-chunk-of-the-internet/). You can do whatever you want with this data. Consider linking to this repo if you find something interesting or odd.
66

7-
### Usage
7+
The last scan contains **796,268** servers that allow anonymous access. This is **4.31486 %** of the **18,454,087** services running on port 21 in IPv4.
88

9-
The file is provided as a gz and [lz5](https://github.com/inikep/lz5) compressed file.
9+
### Usage
1010

11-
LZ5: Decompress the file to stdout to get a stream of IPs:
11+
1) Decompress the file
1212

1313
```sh
14-
lz5 -d openftp4_all_20160918.lz5
14+
gzip -d openftp4.txt.gz
15+
```
16+
17+
2) Hack away
18+
19+
### Format
20+
21+
The data follows this loose format:
22+
23+
```text
24+
ip|timestamp|banner
1525
```
1626

17-
will print a stream of all IP addresses to stdout. Just a hint: If you are going to interact in any way with these servers, consider piping the list through `shuf` each time you try something new so you don't hit the same server(s) over and over again. Also, don't sort the list before rescanning, because you will enounter IP slashes that belong to one network. Think about what it looks like from their perspective ;-).
27+
- `ip` is the IPv4 address (`^([0-9.]+)\|`).
28+
- `timestamp` is the unix timestamp of the exchange with that server (`^+?\|(\d+)\|`).
29+
- `banner` is **everything** after the second `|` and includes the full initial banner, every response code and the full login exchange (`\|\d+\|(.+)$`).
30+
31+
Just a hint: If you are going to interact in any way with these servers, consider piping the list through `shuf` each time you try something new so you don't hit the same server(s) over and over again. Also, don't sort the list before rescanning, because you will encounter IP slashes that belong to one network. Think about what it looks like from their perspective ;-).
1832

19-
If you want to be extra nice, provide your actual email address (or one you have access to) as the password (blog post for details), so server admins can contact you.
33+
If you want to be extra nice, provide your actual email address (or one you have access to) as the password (blog post for details), so server admins can contact you.
2034

2135
## [![](https://news.ycombinator.com/y18.gif) Discussion](https://news.ycombinator.com/item?id=12523455)
2236

2337
- News: [SoftPedia](http://news.softpedia.com/news/nearly-800-000-ftp-servers-accessible-online-without-authentication-508421.shtml) • [D. Pratt (German)](https://dominicpratt.de/unsichere-ftp-server/) • [IDG: NETWORKWORLD](http://www.networkworld.com/article/3121655/security/teenager-claims-to-have-accessed-ftps-downloaded-data-from-every-state-with-us-domain.html#comments) • [mob3](http://mob3.net/forum/threads/user-scans-all-open-ftp-servers-on-ipv4-posts-ip-results.6391/)
24-
- Discussion elsewehre: [HN](https://news.ycombinator.com/item?id=12527989) • [r/DataHoarder](https://www.reddit.com/r/DataHoarder/comments/53cyhm/list_of_all_anonymous_login_ftp_servers_worldwide/) • [r/opendirectories](https://www.reddit.com/r/opendirectories/comments/53b0ar/a_list_of_all_ftp_servers_in_the_whole_internet/) • [r/netsec](https://www.reddit.com/r/netsec/comments/53bori/massanalyzing_a_chunk_of_the_internet/) • [r/sysadmin](https://www.reddit.com/r/sysadmin/comments/53cor1/someone_just_posted_every_open_ftp_server_on_ipv4/)
38+
- Discussion elsewehre: [HN](https://news.ycombinator.com/item?id=12527989) • [r/DataHoarder](https://www.reddit.com/r/DataHoarder/comments/53cyhm/list_of_all_anonymous_login_ftp_servers_worldwide/) • [r/opendirectories](https://www.reddit.com/r/opendirectories/comments/53b0ar/a_list_of_all_ftp_servers_in_the_whole_internet/) • [r/netsec](https://www.reddit.com/r/netsec/comments/53bori/massanalyzing_a_chunk_of_the_internet/) • [r/sysadmin](https://www.reddit.com/r/sysadmin/comments/53cor1/someone_just_posted_every_open_ftp_server_on_ipv4/)
2539

2640
### In the Wild
2741

openftp4.txt.gz

20.4 MB
Binary file not shown.

openftp4_all_20160918.lz5

-4.43 MB
Binary file not shown.

0 commit comments

Comments
 (0)