Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

PhotoReflect Password Extractor

Wrote this earlier today, as part of making a move from Python 2 to Python 3.

It basically just recovers the password for a password-protected PhotoReflect gallery. Due to PhotoReflect being retarded, the password is actually in the HTML source code of the page, in a Viewstate variable.

Feature requests, code criticism, etc, are all welcome.

Code
github.com/Shantaks/photoreflect-password-recovery
(Mar 31, 2017 03:56 AM)shoggoth Wrote:  Wrote this earlier today, as part of making a move from Python 2 to Python 3.

It basically just recovers the password for a password-protected PhotoReflect gallery. Due to PhotoReflect being retarded, the password is actually in the HTML source code of the page, in a Viewstate variable.

Feature requests, code criticism, etc, are all welcome.

Code
github.com/Shantaks/photoreflect-password-recovery

Link for the lazy

I'll check it out and give some feedback. I was thinking of making a crossplatform password recovery tool but never could figure out how shit was saved on mac or how to retrieve shit from the keychain

EDIT: Only suggestion I can make it to use context managers for the request, other than that looks good :), I should get around to regular expressions at some point.
BTC - 15Cn2u7onAuPaMFGmT4qbEhWgzsKSvMEn6
ETH - 0x5198A50b164a14Df7eAB562da7b440197cb9808B
[Image: folks.gif]
I was using an older script I got off this forum but Photoreflect changed something a few months back and it stopped working.

I would love to start using your script, but I am completely unfamiliar with Python. Is there anyway to automate this or could you give me a step by step to using your code.

Thank you
I hope someone could help me out, but I have Python and the photoreflect.py open, where do I input the url of the photoreflect site? Any help is very much appreciated, thanks!
(Apr 12, 2017 02:35 AM)royseeksall007 Wrote:  I hope someone could help me out, but I have Python and the photoreflect.py open, where do I input the url of the photoreflect site? Any help is very much appreciated, thanks!

Just paste the URL right after photoreflect.py in the command line.

python3 photoreflect.py URL
BTC - 15Cn2u7onAuPaMFGmT4qbEhWgzsKSvMEn6
ETH - 0x5198A50b164a14Df7eAB562da7b440197cb9808B
[Image: folks.gif]
Hey Folks sorry to ask again, I'm not sure I'm doing this correctly. I have the requests module installed, and tried running photoreflect.py . This is what I get in response.

C:\>photoreflect.py photoreflect.com/store/ThumbAccess.aspx?e=9080994
Traceback (most recent call last):
File "C:\photoreflect.py", line 29, in <module>
run(url=sys.argv[1])
TypeError: run() got an unexpected keyword argument 'url'

I'm not sure what im doing wrong, but I appreciate any help you can send my way. Thanks!
(Apr 12, 2017 03:43 PM)royseeksall007 Wrote:  Hey Folks sorry to ask again, I'm not sure I'm doing this correctly. I have the requests module installed, and tried running photoreflect.py . This is what I get in response.

C:\>photoreflect.py photoreflect.com/store/ThumbAccess.aspx?e=9080994
Traceback (most recent call last):
File "C:\photoreflect.py", line 29, in <module>
run(url=sys.argv[1])
TypeError: run() got an unexpected keyword argument 'url'

I'm not sure what im doing wrong, but I appreciate any help you can send my way. Thanks!

Are you using python3?
BTC - 15Cn2u7onAuPaMFGmT4qbEhWgzsKSvMEn6
ETH - 0x5198A50b164a14Df7eAB562da7b440197cb9808B
[Image: folks.gif]
(Apr 12, 2017 03:43 PM)royseeksall007 Wrote:  Hey Folks sorry to ask again, I'm not sure I'm doing this correctly. I have the requests module installed, and tried running photoreflect.py . This is what I get in response.

C:\>photoreflect.py photoreflect.com/store/ThumbAccess.aspx?e=9080994
Traceback (most recent call last):
File "C:\photoreflect.py", line 29, in <module>
run(url=sys.argv[1])
TypeError: run() got an unexpected keyword argument 'url'

I'm not sure what im doing wrong, but I appreciate any help you can send my way. Thanks!

Try,
python3 photoreflect.py (https)://photoreflect.com/store/ThumbAccess.aspx?e=9080994

Good luck!

If you want to learn Python, Join Me ( #/96jKkqY )
I finally got it working, thanks for the help everyone!

darn too bad it doesnt work if you dont know their email, but still awesome regardless!
That particular gallery looks to not be online anymore. "These photos are currently not available."
The photos were deleted but at least I was able to get the password.

The other galleries all require emails, so I cant get them. But i'm happy I got the extractor working lol.
Alright. So I have Python3.6, PiP, and downloaded your code. My question is where am I supposed to save your code? To the scripts folder?

Then I'm having issues running the script. When I run it in IDLE, it says "Photoreflect" invalid syntax.
I know this is an old post but would anyone have time to give me a hand with this? When in Python it says line 2 request not found but i can see the request.py file in the python3 files.
you'll need requests
http://docs.python-requests.org/en/master/

Code
python -m pip install requests


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Release] by Sir Edward TeachSep 9, 2026 11:52 AM 2 105 Sep 9, 2026 11:52 AM
Last Post: Sir Edward Teach
[C#] by EZLibJan 18, 2018 09:35 AM 4 366 Jan 18, 2018 09:35 AM
Last Post: gigajew
[Java] by xxm0dzxxApr 5, 2016 08:31 AM 8 411 Apr 5, 2016 08:31 AM
Last Post: robby_j