mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-23 07:21:53 +08:00
test: support bypass CSRF
This commit is contained in:
@@ -80,6 +80,7 @@ public class AntSwordManager {
|
||||
manager.setEntrypoint(entrypoint);
|
||||
Map<String, String> headers = new HashMap<>(16);
|
||||
headers.put("Content-Type", "application/x-www-form-urlencoded");
|
||||
headers.put("Referer", entrypoint);
|
||||
headers.putAll(this.headers);
|
||||
manager.setHeaders(headers);
|
||||
return manager;
|
||||
|
||||
Reference in New Issue
Block a user