-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86a0f2f
commit 4e1cbab
Showing
7 changed files
with
119 additions
and
52 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# HTTPOVERRPC | ||
This directory contains the http over rpc services. It is a simple service that allows to send http requests to from target hosts | ||
|
||
|
||
## Usage | ||
|
||
### sanssh httpoverrpc get | ||
Make a HTTP(-S) request to a specified port on the remote host. | ||
|
||
```bash | ||
sanssh <sanssh-args> get [-method <method>] [-header <header>] [-dialAddress <dial-address>] [-insecure-skip-tls-verify] [-show-response-headers] [-body <body>] [-protocol <protocol>] [-hostname <hostname>] <remoteport> <request_uri>: | ||
``` | ||
|
||
Where: | ||
- `<body>` body to send in request | ||
- `<dial-address>` host:port to dial to. If not provided would dial to original host and port | ||
- `<header>` Header to send in the request, may be specified multiple times. | ||
- `<hostname>` ip address or domain name to specify host (default "localhost") | ||
- `<method>` method to use in the HTTP request (default "GET") | ||
- `<protocol>` protocol to communicate with specified hostname (default "http") | ||
- `<remoteport>` port to connect to on the remote host | ||
- `<request_uri>` URI to request | ||
|
||
Flags: | ||
- `-show-response-headers` If provided, print response code and headers | ||
- `-insecure-skip-tls-verify` If provided, skip TLS verification |
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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