Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 2218

[PYTHON] FTP bulk checker

by P0D - 06 June, 2022 - 02:50 PM
This post is by a banned member (P0D) - Unhide
P0D  
Infinity
23
Posts
3
Threads
2 Years of service
#1
(This post was last modified: 04 May, 2023 - 10:09 PM by P0D. Edited 1 time in total.)
BEEP BEEP
-- transmission received --

Hello earthlings, I wrote a quick script that can check multiple FTP servers for folders/files. I do this to have initial information about the server
and what can be expected to be found there. It outputs the data in a txt file + in the terminal. The input is a text file with the format:

127.0.0.1:21 or if you have a username + password: 127.0.0.1:21:username:password separated by a new line to have multiple.

Screenshot
[Image: ftp-scrape-screenshot.png]

Download

Hidden Content
You must register or login to view this content.

This post is by a banned member (JefferyBobby) - Unhide
427
Posts
26
Threads
2 Years of service
#2
thx
This post is by a banned member (ph03n1x69) - Unhide
ph03n1x69  
Registered
118
Posts
3
Threads
2 Years of service
#3
Thanks hope it will be mass checker
This post is by a banned member (oGatao) - Unhide
oGatao  
Registered
393
Posts
35
Threads
1 Year of service
#4
working? i want check it! thank you
[Image: drive.gif] [Image: pepejail.gif]
This post is by a banned member (P0D) - Unhide
P0D  
Infinity
23
Posts
3
Threads
2 Years of service
#5
(02 May, 2023 - 05:47 PM)oGatao Wrote: Show More
working? i want check it! thank you

It does actually ^^ have used it recently for fun. I have updated the download link because I saw it wasn't working anymore.
Also in the near future I will share a new shodan scrape with around 50k open FTP ip addresses included that can be used.
This post is by a banned member (oGatao) - Unhide
oGatao  
Registered
393
Posts
35
Threads
1 Year of service
#6
(04 May, 2023 - 10:11 PM)P0D Wrote: Show More
(02 May, 2023 - 05:47 PM)oGatao Wrote: Show More
working? i want check it! thank you

It does actually ^^ have used it recently for fun. I have updated the download link because I saw it wasn't working anymore.
Also in the near future I will share a new shodan scrape with around 50k open FTP ip addresses included that can be used.

can u share it with me? lol
:)

ftp:user:pass

make a .txt with name dados_teste.txt and use it :)

u make this in python:

 
Code:
 
import ftplib

def test_ftp_connection(host, username, password):
    try:
        ftp = ftplib.FTP(host)
        ftp.login(username, password)
        ftp.quit()
        return True
    except:
        return False

if __name__ == '__main__':
    # Lendo os dados de teste do arquivo texto
    with open('dados_teste.txt', 'r') as f:
        dados_teste = f.read().splitlines()

    # Abrindo arquivo de saída
    with open('resultado_teste.txt', 'w') as f:
        for dados in dados_teste:
            # Separando os dados de cada linha
            host, username, password = dados.split(':')

            # Testando a conexão FTP
            if test_ftp_connection(host, username, password):
                msg = f'{host}:{username}:{password} funcionando!\n'
            else:
                msg = f'{host} não!\n'
            f.write(msg)
            print(msg)
[Image: drive.gif] [Image: pepejail.gif]
This post is by a banned member (P0D) - Unhide
P0D  
Infinity
23
Posts
3
Threads
2 Years of service
#7
(04 May, 2023 - 10:16 PM)oGatao Wrote: Show More
(04 May, 2023 - 10:11 PM)P0D Wrote: Show More
(02 May, 2023 - 05:47 PM)oGatao Wrote: Show More
working? i want check it! thank you

It does actually ^^ have used it recently for fun. I have updated the download link because I saw it wasn't working anymore.
Also in the near future I will share a new shodan scrape with around 50k open FTP ip addresses included that can be used.

can u share it with me? lol
:)

ftp:user:pass

make a .txt with name dados_teste.txt and use it :)

u make this in python:

 
Code:
 
import ftplib

def test_ftp_connection(host, username, password):
    try:
        ftp = ftplib.FTP(host)
        ftp.login(username, password)
        ftp.quit()
        return True
    except:
        return False

if __name__ == '__main__':
    # Lendo os dados de teste do arquivo texto
    with open('dados_teste.txt', 'r') as f:
        dados_teste = f.read().splitlines()

    # Abrindo arquivo de saída
    with open('resultado_teste.txt', 'w') as f:
        for dados in dados_teste:
            # Separando os dados de cada linha
            host, username, password = dados.split(':')

            # Testando a conexão FTP
            if test_ftp_connection(host, username, password):
                msg = f'{host}:{username}:{password} funcionando!\n'
            else:
                msg = f'{host} não!\n'
            f.write(msg)
            print(msg)

What you mean by share? the ftp ip addresses? Like I said I will share them on this site in the near future, also downloading other shodan info.
And I updated the link to the script, it checks anonymous login of with username:pass. It will spit out available files in the output.txt file so you
can take a look which connection has interesting files.
This post is by a banned member (oGatao) - Unhide
oGatao  
Registered
393
Posts
35
Threads
1 Year of service
#8
(04 May, 2023 - 10:33 PM)P0D Wrote: Show More
(04 May, 2023 - 10:16 PM)oGatao Wrote: Show More
(04 May, 2023 - 10:11 PM)P0D Wrote: Show More
It does actually ^^ have used it recently for fun. I have updated the download link because I saw it wasn't working anymore.
Also in the near future I will share a new shodan scrape with around 50k open FTP ip addresses included that can be used.

can u share it with me? lol
:)

ftp:user:pass

make a .txt with name dados_teste.txt and use it :)

u make this in python:

 
Code:
 
import ftplib

def test_ftp_connection(host, username, password):
    try:
        ftp = ftplib.FTP(host)
        ftp.login(username, password)
        ftp.quit()
        return True
    except:
        return False

if __name__ == '__main__':
    # Lendo os dados de teste do arquivo texto
    with open('dados_teste.txt', 'r') as f:
        dados_teste = f.read().splitlines()

    # Abrindo arquivo de saída
    with open('resultado_teste.txt', 'w') as f:
        for dados in dados_teste:
            # Separando os dados de cada linha
            host, username, password = dados.split(':')

            # Testando a conexão FTP
            if test_ftp_connection(host, username, password):
                msg = f'{host}:{username}:{password} funcionando!\n'
            else:
                msg = f'{host} não!\n'
            f.write(msg)
            print(msg)

What you mean by share? the ftp ip addresses? Like I said I will share them on this site in the near future, also downloading other shodan info.
And I updated the link to the script, it checks anonymous login of with username:pass. It will spit out available files in the output.txt file so you
can take a look which connection has interesting files.

ohh right, im searching for ftp access with url access for check some projects
[Image: drive.gif] [Image: pepejail.gif]

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!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 4 Guest(s)