Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kseen715/mcloud-scraper
POC scraper of some cloud storage provider
https://github.com/kseen715/mcloud-scraper
Last synced: 5 days ago
JSON representation
POC scraper of some cloud storage provider
- Host: GitHub
- URL: https://github.com/kseen715/mcloud-scraper
- Owner: Kseen715
- License: mit
- Created: 2024-01-12T16:02:45.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-15T14:39:06.000Z (11 months ago)
- Last Synced: 2024-10-31T04:42:46.435Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MCloud-scraper
## Description
This is proof-of-concept project, that theoretically should "mine" public cloud
links from the internet for further investigation.Script will try to find all possible combinations of the link and check if it
is valid. If link is valid, it will be saved to the output file.Current state of the process will be displayed in the console and
saved to the state file. If you want to stop the process, just press ```Ctrl+C```
and wait for the process to stop.
## Usage
Script written for Python 3.12, but should work on other versions.
To install necessary requirements, run:
```
python3 pip install -r requirements.txt
```You can use ```--help``` argument to see full command palette:
```
python3 run.py --help
```On my machine, I can run 20 workers without any problems, but you can try to
increase this number. Also, you can use sequential mode, which is much slower,
but more accurate.**Theoretically, random mode should have greater chance of collision with
working link (_links use some kind of hash function to generate ID_), so
I would recommend to use default mode.**My machine can work at speed ~120url/s and it requires ~50Mb/s of internet
connection. Sequential mode requires ~7*10^13 years to check all possible
combinations.## Examples
Run 20 workers and save output to ```output.txt``` file:
```
python3 run.py -w 20 -o output.txt
```Run 10 workers and use sequential mode (aka brute-force):
```
python3 run.py -sw 10
```Run extractor, to receive sequential ID of the link:
```
python3 run.py -e https://cloud.mail.ru/public/ceY5/Sy9n2TNCa
```Run checker, to check if links is valid:
```
python3 run.py -c -o output.txt
```