From b02f0f28c875b5243945eecbbb1cbeb561160b10 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Thu, 27 Jan 2022 12:45:13 -0700 Subject: [PATCH] bash scripts show its all cookie phpsessid --- broker/testdata/fastexact_login.sh | 12 ++++++++++++ broker/testdata/fastexact_search.sh | 10 ++++++++++ 2 files changed, 22 insertions(+) create mode 100644 broker/testdata/fastexact_login.sh create mode 100644 broker/testdata/fastexact_search.sh diff --git a/broker/testdata/fastexact_login.sh b/broker/testdata/fastexact_login.sh new file mode 100644 index 0000000..e1c9820 --- /dev/null +++ b/broker/testdata/fastexact_login.sh @@ -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' \ + diff --git a/broker/testdata/fastexact_search.sh b/broker/testdata/fastexact_search.sh new file mode 100644 index 0000000..4c9a71d --- /dev/null +++ b/broker/testdata/fastexact_search.sh @@ -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