Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×
Reply
Emerging Member
Posts: 76
Registered: ‎10-06-2009
Kudos: 9

Anti Skynet Robot

Hello, I have developed an "anti skynet" robot.
This set of PHP and BASH scripts connnect to my APs (more than 30), get a list of connected CPEs, then connect to each CPE via SSH (before this the script take the CPE password via a webservice), verify AirOS if needed an upgrade, do if if is needed, and remove the worm if is active.

Forking this scripts I can scan, upgrade firmware and remove the worm of 800 CPEs in less than 1 Hrs.

I can't share the code as is because is very specific to our platform and administration systems, but I can share specific parts of the code to do specific actions, and then you can build your own script as you need.

Just reply to this thread if need more information.

Regards,
Jack.
New Member
Posts: 1
Registered: ‎10-20-2008

Re: Anti Skynet Robot

Hola. Estoy interesado que hacemos para conseguir ese script. En que plataforma lo debes correr?
Ubiquiti Employee
Posts: 7,391
Registered: ‎11-27-2007
Kudos: 4214
Solutions: 167
Contributions: 45

Re: Anti Skynet Robot

Thanks for sharing...
We also have a tool we provided to help with the pass checking, removal, and upgrading of devices with this worm:
forum.ubnt.com/showthread.php?p=240536#post240536
Sharing in case anyone is interested Icon Smile
-Matt
SuperUser
Posts: 5,811
Registered: ‎08-09-2011
Kudos: 2985
Solutions: 228
Contributions: 10

Re: Anti Skynet Robot

With regard to the UBNT tool, Windows users can create a "batch file" to execute the .jar file by doing the following...
Open Windows Notepad and copy the following two lines into it:
java -jar CureSkynetMalware.jar
pause
File > Save
Navigate to the folder that contains the .jar file
Save the file as: "CureSkynetMalware.bat" (Note: make the extension .bat, not .txt)
Now, you have an icon that you can simply double-click on to run.
Cheers,
Gene
NEW FORUM MEMBERS:
Seek knowledge. Press the [Knowledge Base] link at the top.
Senior Member
Posts: 3,410
Registered: ‎05-19-2009
Kudos: 195
Solutions: 8

Re: Anti Skynet Robot

anyone that needs Patched 5.3 SDK and dose not know how to do it your self.
PM or e-mail me if PM is full I will try and send you the patched 5.3 SDK before the end of the week

Thanks,
New Member
Posts: 4
Registered: ‎07-05-2015

Re: Anti Skynet Robot


Bean_Planter wrote:
With regard to the UBNT tool, Windows users can create a "batch file" to execute the .jar file by doing the following...
Open Windows Notepad and copy the following two lines into it:
java -jar CureSkynetMalware.jar
pause
File > Save
Navigate to the folder that contains the .jar file
Save the file as: "CureSkynetMalware.bat" (Note: make the extension .bat, not .txt)
Now, you have an icon that you can simply double-click on to run.
Cheers,
Gene

Thank you for sharing.

Batch file processing is necessary and easily with this .jar file.

 

New Member
Posts: 1
Registered: ‎05-18-2016

Re: Anti Skynet Robot

Hello I read Your ad and I would need the "anti skynet" robots how can I do it x this is my mail antonjma@gmail.com
Thank you

 

Reply