bash scripts show its all cookie phpsessid

master
Bel LaPointe 2022-01-27 12:45:13 -07:00
parent 2e9e0c5816
commit b02f0f28c8
2 changed files with 22 additions and 0 deletions

12
broker/testdata/fastexact_login.sh vendored Normal file
View File

@ -0,0 +1,12 @@
#! /bin/bash
curl -i -Ss \
'https://www.fastexact.com/secure/index.php?page=userLogin' \
-X POST \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \
-H 'Accept-Language: en-US,en;q=0.5' \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-raw 'user_name=birdman&user_password=166647&buttonSubmit=Login' \

10
broker/testdata/fastexact_search.sh vendored Normal file
View File

@ -0,0 +1,10 @@
#! /bin/bash
curl -sS \
'https://www.fastexact.com/secure/index.php?page=ajaxListJobs&action=ajax&zipcode=27006&records_per_page=10&distance=300&st_loc_zip=8' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0' \
-H 'Accept: */*' \
-H 'Accept-Language: en-US,en;q=0.5' \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Cookie: PHPSESSID=36n1p1rrp5e2ad5ms0qvhp37m1' \
| gzip -d