Closed sarkan902 closed 9 months ago
All you should need to do to modify or add regions is add to the list at: https://github.com/RhinoSecurityLabs/IPRotate_Burp_Extension/blob/d561b5f18d8c64cc02e56d7c830e4126f36a6bab/IPRotate.py#L16
See if just doing that helps. I am not sure regarding the 403.
https://www.toptal.com/developers/hastebin/aluninatim.rb
That's code of your extension edited by me, please check it out I think problem is somewhere in function processHttpMessage
Yes brother i'm talking about https://amazonaws.cn , not amazonaws.com. They are 2 seperate amazons AWS. But yeah they should work same way. I was shocked that extension dont want work on it like it should.
Here's output from CloudWatch logs
Also found interesting thing (i think related to it)
I have no way to test AWS China, feel free to fork and work on this for now China region support will not be added to this project.
Hello i tried to edit IPRotate Extension by changing line self.allEndpoints.append(self.restAPIId + '.execute-api.' + region + '.amazonaws.com') to .com.cn so i can access Chinese API Gateway.
I have chinese Amazon account and i opened regions cn-north-1 and cn-northwest-1. When i tried to make any request then it's giving me 403 code error on request and body is {"Message":null}
Please help me :(
I want to add that i tried to make it from API Gateway Panel and it works, but only on amazon panel