Skip to content

Commit

Permalink
Change backup config to empty to avoid issues
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Mar 2, 2022
1 parent 89cced2 commit 5b845b2
Showing 1 changed file with 0 additions and 88 deletions.
88 changes: 0 additions & 88 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,94 +572,6 @@ func panicHandler() {
}

var defaultConfig = `
{
"jobs": [
{
"type": "http",
"args": {
"method": "GET",
"path": "http://localhost:8080/test?queryparam=test&s={{ random_uuid }}",
"headers": {
"Authorization": "wtf"
},
"client": {
"proxy_urls": "{{ get_proxylist }}"
},
"interval_ms": 100
}
},
{
"type": "tcp",
"args": {
"address": "localhost:9090",
"header": "test",
"body": "more_test"
}
},
{
"type": "udp",
"count": 100,
"args": {
"address": "localhost:9191",
"header": "test",
"body": "more_test",
"interval_ms": 1000
}
},
{
"type": "http",
"args": {
"method": "GET",
"path": "https://localhost:8080/search?searchid={{ random_uuid }}&l10n=ru&reqenc=&text={{ random_uuid }}",
"headers": {}
}
},
{
"type": "syn-flood",
"args": {
"host": "localhost",
"port": 80,
"payload_len": 1000,
"flood_type": "random"
}
},
{
"type": "slow-loris",
"args": {
"path": "https://localhost:9090/inc2/common/js/doo/modules/searchSite/u.php"
}
},
{
"type": "packetgen",
"args": {
"host": "{{ random_ip }}",
"port": "{{ random_port }}",
"packet": {
"payload": "test:blah",
"ethernet": {
"src_mac": "{{ random_mac_addr }}",
"dst_mac": "{{ random_mac_addr }}"
},
"ip": {
"src_ip": "{{ local_ip }}",
"dst_ip": "{{ random_ip }}"
},
"tcp": {
"src_port": "{{ random_port }}",
"dst_port": "{{ random_port }}",
"flags": {
"syn": true
}
},
"udp": {
"src_port": "{{ random_port }}",
"dst_port": "{{ random_port }}"
}
}
}
}
]
}
`

func main() {
Expand Down

0 comments on commit 5b845b2

Please sign in to comment.