Compare commits
1 Commits
main
..
8ffad0a210
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ffad0a210 |
@@ -1,2 +0,0 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
@@ -1 +0,0 @@
|
||||
*.tmp
|
||||
@@ -1,6 +0,0 @@
|
||||
SLRP=$PWD/.slrp
|
||||
BIN=$SLRP/bin
|
||||
while true
|
||||
do
|
||||
$BIN/mubeng -f "$SLRP/proxies.txt" --output "$SLRP/live.txt" --check 2>/dev/null;
|
||||
done
|
||||
@@ -1,6 +0,0 @@
|
||||
SLRP=$PWD/.slrp
|
||||
killall screen
|
||||
rm -f $SLRP/proxies.txt
|
||||
rm -f $SLRP/proxies.tmp
|
||||
rm -f $SLRP/live.txt
|
||||
rm -rf $SLRP/data
|
||||
Binary file not shown.
@@ -1,15 +0,0 @@
|
||||
SLRP=$PWD/.slrp
|
||||
PROXY_FILE=$SLRP/proxies.txt;
|
||||
TEMP=$SLRP/proxies.tmp;
|
||||
while true;
|
||||
do
|
||||
curl -s http://localhost:8089/api/pool | jq '.Records[] | .Proxy' | sed s/\"//g > $TEMP;
|
||||
if [ ! -s $TEMP ]
|
||||
then
|
||||
echo "Nothing at the moment"; sleep 2;
|
||||
else
|
||||
cat $TEMP > $PROXY_FILE;
|
||||
echo "updated- sleeping 2 seconds..."; sleep 2;
|
||||
cat $PROXY_FILE;
|
||||
fi
|
||||
done;
|
||||
Binary file not shown.
@@ -1,14 +0,0 @@
|
||||
app:
|
||||
state: $HOME/.slrp/data
|
||||
sync: 1m
|
||||
log:
|
||||
level: info
|
||||
format: pretty
|
||||
server:
|
||||
addr: "127.0.0.1:8089"
|
||||
read_timeout: 15s
|
||||
mitm:
|
||||
addr: "127.0.0.1:8090"
|
||||
read_timeout: 15s
|
||||
idle_timeout: 15s
|
||||
write_timeout: 15s
|
||||
@@ -1,24 +0,0 @@
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <https://unlicense.org>
|
||||
@@ -1,48 +1,2 @@
|
||||
# CRACKHEAD PROXY
|
||||
This is a hacked crackheaded bullshit amalgamation of a per-request proxy finder and rotator.
|
||||
# crackhead_proxy
|
||||
|
||||
Scrapes the proxy lists included with [slrp](https://github.com/nfx/slrp) and multiplexes them through a local HTTP proxy with [mubeng](https://github.com/kitabisa/mubeng) so that each request through the local procy is sent through a random free proxy. (because slrp alone was not working)
|
||||
|
||||
This was shitcoded while mentally impared. Expect issues.
|
||||
|
||||
## WARNINGS
|
||||
* About half or so of proxies used will fail, use retries.
|
||||
* Dont expect privacy on your requests, mitm is possible.
|
||||
* Dont do crimes
|
||||
|
||||
## INSTALL
|
||||
```
|
||||
sudo apt install jq screen curl
|
||||
cd ~
|
||||
wget https://github.com/PrincessPi3/crackhead_proxy/releases/download/firstlol/crackhead_proxy_release_v0.0.0.0.0.1.tar.gz
|
||||
tar xvf crackhead_proxy_release_v0.0.0.0.0.1
|
||||
```
|
||||
## USE
|
||||
```
|
||||
cd ~/crackhead_proxy_release_v0.0.0.0.0.1
|
||||
./run_d.sh
|
||||
```
|
||||
then run your app (in another terminal) with the HTTP proxy `http://localhost:420`
|
||||
## STOP
|
||||
```
|
||||
Ctrl+C
|
||||
./kill.sh
|
||||
```
|
||||
## TEST
|
||||
```
|
||||
curl -D - --proxy-insecure -x http://localhost:420 -k https://canhazip.com
|
||||
```
|
||||
or
|
||||
```
|
||||
./test_proxy.sh
|
||||
```
|
||||
## EXAMPLE
|
||||
```
|
||||
ffuf -w wordlist.txt -u https://url.domain/FUZZ -x http://localhost:420
|
||||
```
|
||||
|
||||
## PROJECTS USED
|
||||
### Give them a hot look
|
||||
* [slrp](https://github.com/nfx/slrp)
|
||||
* [mubeng](https://github.com/kitabisa/mubeng)
|
||||
* [jq](https://github.com/jqlang/jq)
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
SLRP_DIR=$PWD/.slrp
|
||||
BIN=$SLRP_DIR/bin
|
||||
PROXY_FILE=$SLRP_DIR/proxies.txt
|
||||
LIVE=$SLRP_DIR/live.txt
|
||||
DATA=$SLRP_DIR/data
|
||||
SLRP=$BIN/slrp
|
||||
PARSE_POOL=$BIN/parse_pool_json.sh
|
||||
MUBENG=$BIN/mubeng
|
||||
CHECK_LIVE=$BIN/check_for_live.sh
|
||||
CLEAN=$BIN/clean.sh
|
||||
|
||||
echo Cleaning up first...
|
||||
bash $CLEAN
|
||||
echo Scanning for proxies, please wait 6 seconds...
|
||||
screen -S slrp -d -m $SLRP
|
||||
sleep 6;
|
||||
echo Checking for live proxies and parsing the pool, please wait 90 seconds... #... current time `date +%r`
|
||||
screen -S parse_pool -d -m $PARSE_POOL
|
||||
screen -S mubeng_check_live -d -m $CHECK_LIVE
|
||||
sleep 90
|
||||
$MUBENG -t 6s -a localhost:420 -f $LIVE -w -v -r 1 -m random
|
||||
echo proxy sever on, connect on http://localhost:420
|
||||
@@ -1,5 +0,0 @@
|
||||
while true;
|
||||
do
|
||||
curl -D - --proxy-insecure -x http://localhost:420 -k https://canhazip.com
|
||||
echo "\n"
|
||||
done
|
||||
Reference in New Issue
Block a user