Messing with Sinisterly's mod_rewrite. 02-19-2015, 10:55 PM
#1
I noticed that this website is using mod_rewrite in a nice fashion, so I decided to mess with it.
Here's how to read threads which you shouldn't be able to read.
First, we need the id of a thread which we can't access.
https://sinister.li/Thread-Bidroop-project
![[Image: de6ff2724e.jpg]](http://puu.sh/g49cP/de6ff2724e.jpg)
How you get the ID is up to you.
Now, since we know the forum is running MyBB, we know that the path for showing a thread is http://thisisanexampleorisit.com/showthread.php?tid=1
So instead of using Sinisterly's mod_rewritten bullshit (https://sinister.li/Thread-Bidroop-project), we're going to do it the normal way.
https://sinister.li/showthread.php?tid=10007
Still can't read it though.
Now we use some old MyBB trickery, replacing showthread.php with printthread.php
https://sinister.li/printthread.php?tid=10007
And now we can read it.
![[Image: 9cbd4c3d41.png]](http://puu.sh/g49BY/9cbd4c3d41.png)
I actually wrote an addon for firefox to automatically replace showthread with printthread lol.
Anyway, that's all for this shitty, but fun tutorial.
Something you may want to try is just kinda bruteforcing thread ids and looking for fun stuff.
Example:
etc.
Here's how to read threads which you shouldn't be able to read.
First, we need the id of a thread which we can't access.
https://sinister.li/Thread-Bidroop-project
Spoiler:
![[Image: de6ff2724e.jpg]](http://puu.sh/g49cP/de6ff2724e.jpg)
How you get the ID is up to you.
Now, since we know the forum is running MyBB, we know that the path for showing a thread is http://thisisanexampleorisit.com/showthread.php?tid=1
So instead of using Sinisterly's mod_rewritten bullshit (https://sinister.li/Thread-Bidroop-project), we're going to do it the normal way.
https://sinister.li/showthread.php?tid=10007
Still can't read it though.
Now we use some old MyBB trickery, replacing showthread.php with printthread.php
https://sinister.li/printthread.php?tid=10007
And now we can read it.
Spoiler:
![[Image: 9cbd4c3d41.png]](http://puu.sh/g49BY/9cbd4c3d41.png)
I actually wrote an addon for firefox to automatically replace showthread with printthread lol.
Anyway, that's all for this shitty, but fun tutorial.
Something you may want to try is just kinda bruteforcing thread ids and looking for fun stuff.
Example:
Code:
https://www.sinister.ly/showthread.php?tid=10001
https://www.sinister.ly/showthread.php?tid=10002
https://www.sinister.ly/showthread.php?tid=10003
https://www.sinister.ly/showthread.php?tid=10004

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)






![[Image: giphy.gif]](http://media.giphy.com/media/o240WC04PLhew/giphy.gif)
![[Image: cd56c47e71.png]](http://puu.sh/g5kHG/cd56c47e71.png)





















![[Image: 7ajmN5P.jpg]](https://i.imgur.com/7ajmN5P.jpg)