diff --git a/attack_test.go b/attack_test.go old mode 100644 new mode 100755 index 16e69c0..4e12c1f --- a/attack_test.go +++ b/attack_test.go @@ -8,6 +8,7 @@ import ( "strings" "testing" "time" + "os" ) func init() { @@ -95,6 +96,6 @@ func defaultArguments() (uint64, time.Duration, string, string, string, http.Hea 5 * time.Millisecond, ".targets.txt", "random", - "/dev/null", + os.DevNull, http.Header{} }