Last active
October 24, 2021 10:05
-
-
Save aashishrbhandari/4d7d326d3a0ab345d036995f49e57595 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat 3000_unique_domains.txt | xargs -P 30 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}\n" | tee -a test_4-cc30-17_50-4_may_2021-log.txt | |
cat pi_blocklist_porn_top1m.list | xargs -P 30 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}, Url: %{url_effective}, Socket: %{local_ip}:%{local_port} \n" -o /dev/null| tee -a test_4-cc30-17_50-4_may_2021-log.txt | |
cat pi_blocklist_porn_top1m.list | xargs -P 30 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}, Url: %{url_effective}, Socket: %{local_ip}:%{local_port} \n" -o /dev/null| tee -a test_4-cc30-17_50-4_may_2021-log.txt | |
COUNTER_1=0; cat pi_blocklist_porn_top1m.list | xargs -P 30 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}, Url: %{url_effective}, Socket: %{local_ip}:%{local_port} \n" -o /dev/null| tee -a test_4-cc30-17_50-4_may_2021-log.txt | |
Slides.com Test A/C | |
Slides.com | |
User Exists Validation Working | |
https://slides.com/users/sign_up?plan=lite&period=yearly | |
# Check Creds in Creds | |
## CURL | |
for i in {1..2}; do echo $i; done | curl -vk -X POST -T- http://app.infoman.com -H "Expect:" --trace - | |
for i in {1..2}; do echo $i; done | curl -vk -X POST -T- http://app.infoman.com -x 127.0.0.1:8080 -H "Expect:" --trace - | |
# Send Data in Post Normal | |
curl -F "data=@path/to/my-file.txt" http://example.com/ | |
curl -vk -X POST -F "uname=ashish&fname=my-file.txt" http://app.infoman.com -x 127.0.0.1:8080 -H "Expect:" --trace - | |
curl -vk -X POST -F "[email protected]" http://app.infoman.com -x 127.0.0.1:8080 -H "Expect:" --trace - | |
curl -vk -X POST -F "uname=ashish" -F "fname=ajah" http://app.infoman.com -x 127.0.0.1:8080 -H "Expect:" --trace - | |
curl -vk -X POST -F "uname=ashish" -F "[email protected]" http://app.infoman.com -x 127.0.0.1:8080 -H "Expect:" --trace - | |
curl -vk -X POST -d "Myname is Raju" http://app.infoman.com -x 127.0.0.1:8080 -H "Expect:" --trace - | |
curl -vk "http://www.google.com" -x 10.139.232.245:8080 | |
curl -vk "https://www.google.com" -x 10.139.232.245:8080 | |
time curl -vk "http://www.google.com" -x 10.139.232.245:8080 | |
time curl -vk "https://www.google.com" -x 10.139.232.245:8080 | |
for i in {1..10}; do echo $i; done | curl -T- "http://10.139.232.245:8081" -x 10.139.232.245:8080 | |
for i in {1..10}; do echo $i; done | curl -vk -T- "http://10.139.232.245:8081" -x 10.139.232.245:8080 | |
===================== | |
New Testing | |
---------------- | |
for one_data in $(cat pi_blocklist_porn_top1m.list); | |
do | |
curl -vk "http://${one_data}" -x 10.139.232.245:8080; | |
done | |
cat cat pi_blocklist_porn_top1m.list | xargs -P 10 -n 1 -I {} curl {} -s -x 10.139.232.245:8080 | |
cat hosts.onlydomains.txt | xargs -P 10 -n 1 bash -x -c 'HOST_NAME=$0; echo "echo " curl -s -x 10.139.232.245:8080"' | |
cat ccil_url_lists_quoted.txt | xargs -P 20 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}\n" -o /dev/null | |
time_namelookup: %{time_namelookup}s\n | |
time_connect: %{time_connect}s\n | |
time_appconnect: %{time_appconnect}s\n | |
time_pretransfer: %{time_pretransfer}s\n | |
time_redirect: %{time_redirect}s\n | |
time_starttransfer: %{time_starttransfer}s\n | |
----------\n | |
time_total: %{time_total}s\n | |
cat hosts.onlydomains.txt | xargs -P 10 -n 1 curl -s -x 10.139.232.245:8080 -w "Status: %{response_code}, Total-Time: %{time_total}\n" -o /dev/null | |
Use Case | |
2000 Unique Domains | |
- Parallel 30 | |
- Single One By one | |
cat 2000_unique_domains.txt | xargs -P 30 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}\n" -o /dev/null | |
for ONE_DOMAIN in $(cat 3000_unique_domains.txt); do DOMAIN_NAME=$(echo $ONE_DOMAIN | tr -d '"'); curl "${DOMAIN_NAME}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}\n" -o /dev/null ; done | |
for i in {1..5}; | |
do | |
cat 3000_unique_domains.txt | xargs -P 5 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}\n" -o /dev/null ; | |
sleep 6m; | |
done | |
cat 3000_unique_domains.txt | xargs -P 30 -n 1 -I{} curl "{}" -s -x 10.139.232.245:8080 --max-time 6.0 -w "Status: %{response_code}, Total-Time: %{time_total}\n" -o /dev/null ; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment