Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Run something like this in zenno
- (It doesn't have to be something that is executed when a request is sent or received, but it would be useful for debugging, etc.)
- instance.onrequest(request){
- if (request.url.contains("https://example.com/sourcecode.js")&&request.isending){
- request.isspoofreceive = true;
- request.receivedata = "Hello"
- }
- }
- And the one that would be executed in the browser
- <script type="text/javascript" src="https://example.com/sourcecode.js"></script>
- or a request for javascript, etc.
- And I want the incoming data of these requests to be Hello and to be received even if offline or proxy is dead
- browser -> send request -> cancel due to events or other actions in zennoposter -> receive saved request (nothing is actually sent to the server) -> receive request -> browser
- And.
- browser -> send request -> request event -> request with changed url, post content, etc -> web server -> request event -> received content -> browser
- It would be nice if the request event had the ability to change all url , content data, headers, etc. and hook into it both after and before sending (this could be a feature that I would like to see added).
Advertisement
Add Comment
Please, Sign In to add comment