Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update README.md #15

Merged
merged 1 commit into from
Dec 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@ This is a simple Go program that can be used to test for XML External Entity (XX

## Usage

To use `XAT`, you need to specify the URL of the vulnerable server as a command line argument using the `-u` flag. The `-t` flag specifies the timeout for the HTTP request. The `-p` flag speifies the location of XML payload you want to inject.
To use `XAT`, you need to specify the URL of the vulnerable server as a command line argument using the `-u` flag.

Other flags usage:

| Flag | Function |
|:----:| -------- |
| `-t` | specifies the timeout for the HTTP request. |
| `-p` | speifies the location of XML payload you want to inject. |
| `-verbose` | print additional debugging information when running the tool. |

Example:

```
$ go run xat.go -u http://vulnerable-server.com/xxe-endpoint -t 60 -p /path/to/payloadFile.txt
Expand Down