[PHP] Rioru’s http method modification 0.1a
Simple code that will allow you to change your http method, GET to an unknown method “SER” (SER is for Seraphic Squad). The code isn’t optimized yet, but well, I’ll post another one one day. It’s useful when you got a website that make their htaccess with the LIMIT option.like:
AuthUserFile /.htpasswd
AuthName “Enter your password”
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
There’s the code: http://pastebin.com/GcVE6tf2
Advertisement
you can bypass also only change the CASE SENSITIVE of request. Or just using REQUEST.
ex: Post, Get, etc…
fputs($fp, “POST $path HTTP/1.1\r\n”);
fputs($fp, “Host: $host\r\n”);
fputs($fp, “Referer: $referer\r\n”);
etc etc…
July 1, 2010 at 6:26 pm