Advertising (This ad goes away for registered users. You can Login or Register)

VitaUpdateBlocker v1.2.3 for Windows/Debian/Ubuntu

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
carloswkl
Posts: 15
Joined: Fri Mar 06, 2015 10:04 am

VitaUpdateBlocker v1.2.3 for Windows/Debian/Ubuntu

Post by carloswkl » Wed Apr 08, 2015 2:51 pm

This is a NON-OFFICIAL release of VitaUpdateBlocker modified from the original iAmGhost release (All credits go to iAmGhost). I found this script with the broken objects due to the updated of its dependencies, so I had modified it to make it works once again at Debian/Ubuntu OS with mitmproxy v0.11.3. For anyone who prefer to run it at Windows OS, you can use the pyexe to compile it or simply run it with python command. It shall be fine with the both OSes. For people who run this on Windows OS, make sure you have all the libraries and dependencies ready 1st, which I won't discuss about them nor providing the compiled version at this forum topic.

By the way, I had also add the following extra command parameters to this modified version:
* --ip X.X.X.X: To make it listening to a specific network interface, not defining this parameter or leave empty value for ALL interfaces
* --debug: For console debugging purpose only.
Please use it at your own risk.

Note: It does not fully working anymore for Vita v3.36 (SA set) or previous version since 10th April 2015. If there is anyone owning Vita v3.50 (yup! 3.5.0 ONLY, latest but not others) willing to contribute with the latest logs to allow me continue work on this. Make sure the logs are captured in Transparent Proxy environment (skip the instructions of setting-up android client and steps 2.4 onward). If you have firewall at the machine running the VitaUpdateBlocker, make sure you have configure the firewall to work with the ports or turning off the firewall. After that, you can capture the logs by following shell command:

Code: Select all

$ python vub.py --ip X.X.X.X --port XXXX --debug > captureX.log
Once the VitaUpdateBlocker is running, use your Vita v3.50 access:
(1) The PSN store, login and close it, access it again, login and close it. Get the capture1.log and restart VitaUpdateBlocker.
(2) The Setting -> PSN -> Activation (do not need to activate the 3 options), login and close it. Get the capture2.log and restart VitaUpdateBlocker.
(3) Browser -> browse http://www.youtube.com -> play a movie, stop and close browser (Thx to psvpwner letting me know this issue). Get the capture3.log.
(4) PM me with your capture1.log, capture2.log and capture3.log results.
Alert: DO NOT post your log results here, kindly pm them to me, in order to prevent your own sensitive account information fall into the wrong hands.
I will need plenty of the logs (including incoming packets too) for analysis and further works on my free time, advance thank you for who is willing to contribute or donate ;)

In case i have to answer plenty of the questions later on, the followings are the WORKING feature(s) of this script:
* Prevent accidentally update the firmware, example kids pressing the "Update System Software" button when it is prompted.
Nothing more at the moment :)
Advertising
Attachments
vub123.zip
VitaUpdateBlocker v1.2.3 (Refers Readme.txt for further information)
(5.26 KiB) Downloaded 442 times
Last edited by carloswkl on Mon Apr 13, 2015 1:34 pm, edited 64 times in total.

psvpwner
Posts: 75
Joined: Tue Sep 16, 2014 11:39 am

Re: VitaUpdateBlocker v1.2.1 for Debian/Ubuntu

Post by psvpwner » Thu Apr 09, 2015 2:52 am

Like I already said in the other thread; thank you so much for this. So good to have it working!
However, after running it for a few hours it crashed on me. Here's the output:

Traceback (most recent call last):
File "vub.py", line 142, in <module>
main()
File "vub.py", line 139, in main
m.run()
File "vub.py", line 23, in run
return controller.Master.run(self)
File "/home/user/.local/lib/python2.7/site-packages/libmproxy/controller.py", line 111, in run
self.tick(self.masterq, 0.01)
File "/home/user/.local/lib/python2.7/site-packages/libmproxy/controller.py", line 101, in tick
self.handle(*msg)
File "/home/user/.local/lib/python2.7/site-packages/libmproxy/controller.py", line 118, in handle
m(obj)
File "vub.py", line 30, in handle_request
query = parse_qs(msg.request.path.split('?')[1])
IndexError: list index out of range
Advertising

carloswkl
Posts: 15
Joined: Fri Mar 06, 2015 10:04 am

Re: VitaUpdateBlocker v1.2.1 for Debian/Ubuntu

Post by carloswkl » Thu Apr 09, 2015 4:52 pm

Thanks for letting me know that, kindly test with the v1.2.2 again to see whether you are facing the same problem or not. My guess is somehow the code cannot find (technically split) the URI query starting with "?" from the requested PSN URL. I have added an extra checking statement before it proceed with the original code. I have also enhanced a bit on the PSN XML response.

psvpwner
Posts: 75
Joined: Tue Sep 16, 2014 11:39 am

Re: VitaUpdateBlocker v1.2.2 for Debian/Ubuntu

Post by psvpwner » Fri Apr 10, 2015 9:27 pm

I've ran this updated version for a while without problems, but not during such a prolonged period of time as I did before. BTW, why are you saying it no longer works on version <=3.36? If I go to system update on my 3.18 it says "The latest update is already installed" which looks perfectly working to me, and so does connecting to Content Manager through the network, which normally requires you to update your firmware when not using the proxy. Or were you talking about being able to connect to PSN with the second latest version of the firmware?

carloswkl
Posts: 15
Joined: Fri Mar 06, 2015 10:04 am

Re: VitaUpdateBlocker v1.2.2 for Debian/Ubuntu

Post by carloswkl » Fri Apr 10, 2015 10:16 pm

It is all about yesterday I'm still able to switch on the PSN store (not fully functional however, so to the others) with Vita v3.36, but it became suddenly broken. Now, it will prompt for upgrading the firmware at PSN and System Activation. Not sure it will affect v3.18 or not, since i don't own any Vita with v3.18 or other than SA set, but I guess it will be the same result sooner or later. I had tested with SKFU Pr0xy and the result is broken too.

masoud_5april
Posts: 22
Joined: Wed Oct 22, 2014 7:31 pm

Re: VitaUpdateBlocker v1.2.3 for Debian/Ubuntu/Windows

Post by masoud_5april » Sat Apr 11, 2015 3:04 pm

Thanks for the tip.
but can you make an exe file from your script ?
I'm using windows and I get this error:
"Import Error no module namedlibmproxy"
thanks.

carloswkl
Posts: 15
Joined: Fri Mar 06, 2015 10:04 am

Re: VitaUpdateBlocker v1.2.3 for Debian/Ubuntu/Windows

Post by carloswkl » Sat Apr 11, 2015 3:50 pm

masoud_5april wrote:Thanks for the tip.
but can you make an exe file from your script ?
I'm using windows and I get this error:
"Import Error no module namedlibmproxy"
thanks.
Sorry, as I said i won't provide any compiled version of this script due to time consuming and my own interest in the scripting alone. For the error that you have, you can find the answer at:
(1) Easy Method
(2) More...
Once PIP is installed, use the following windows command on the path of pip.exe is installed and located:

Code: Select all

pip install mitmproxy
After that, you shall proceed with the following:

Code: Select all

python vub.py --ip X.X.X.X --port XXXX --debug --block-traffics
Note: Apply the parameters in your own manners.
If you still want to compile it to EXE, try google with "pyexe windows", you will find plenty of answers there.

Good Luck!

masoud_5april
Posts: 22
Joined: Wed Oct 22, 2014 7:31 pm

Re: VitaUpdateBlocker v1.2.3 for Debian/Ubuntu/Windows

Post by masoud_5april » Sat Apr 11, 2015 5:01 pm

Thanks bro.
I fixed it ran it successfully but I am still promoting to update.
Is there any way to bypass that ?

FlakeyBanana
Posts: 2
Joined: Sat Apr 11, 2015 5:25 pm

Re: VitaUpdateBlocker v1.2.3 for Debian/Ubuntu/Windows

Post by FlakeyBanana » Sat Apr 11, 2015 5:31 pm

masoud_5april wrote:Thanks bro.
I fixed it ran it successfully but I am still promoting to update.
Is there any way to bypass that ?
It's currently not working because sony updated the method they use to communicate with the psvita, hopefully there not using a SSL cert, better yet knowing sony it might be plain text.

carloswkl
Posts: 15
Joined: Fri Mar 06, 2015 10:04 am

Re: VitaUpdateBlocker v1.2.3 for Debian/Ubuntu/Windows

Post by carloswkl » Sat Apr 11, 2015 6:04 pm

masoud_5april wrote:Thanks bro.
I fixed it ran it successfully but I am still promoting to update.
Is there any way to bypass that ?
You may download the latest vub123.zip. I had included the instructions and windows version (work better with coloring texts in debugging mode). However, it is not going to bypass the firmware update prompt yet.

Post Reply

Return to “Programming and Security”