aboutsummaryrefslogtreecommitdiff
path: root/http_attack_handler.go
AgeCommit message (Collapse)Author
2024-04-24all: refactoring form input for multipart form-dataShulhan
This changes replace handling type for storing multipart form-data from "map[string][]byte" to [*multipart.Form] based on changes on module "pakakeh.go".
2024-03-15all: update module pakakeh.go to the tipShulhan
On the "lib/http" we refactoring RequestMethod and RequestType type from int to string for readability, when the value is encoded, for example to JSON. So instead of 0, 1 or 2; it will print "GET", "CONNECT", or "HEAD".
2024-03-05all: replace module "share" with "pakakeh.go"Shulhan
2024-02-16all: set default HTTPTarget Attack if its not setShulhan
Previously, the function for Attack need to be coded manually. This changes introduce new function DefaultHTTPAttack that generate HTTPAttackHandler based on the HTTPTarget method, request type, and Params; if AllowAttack is true and Attack is nil. Implements: https://todo.sr.ht/~shulhan/gorankusu/4