https://github.com/xissy/slasher
curl command multi-liner
https://github.com/xissy/slasher
Last synced: 11 months ago
JSON representation
curl command multi-liner
- Host: GitHub
- URL: https://github.com/xissy/slasher
- Owner: xissy
- Created: 2019-03-27T07:00:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-13T22:31:08.000Z (about 7 years ago)
- Last Synced: 2025-02-07T18:53:51.385Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# slasher
> curl command multi-liner
## Usage
``` bash
> echo "curl 'http://facebook.com/' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.9,sm;q=0.8' --compressed" | slasher
curl 'http://facebook.com/' \
-H 'Connection: keep-alive' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Accept-Language: en-US,en;q=0.9,sm;q=0.8' \
--compressed
```