Author Topic: [BASH] g0tr00t.sh - local privilege escalation  (Read 1908 times)

0 Members and 1 Guest are viewing this topic.

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
[BASH] g0tr00t.sh - local privilege escalation
« on: November 02, 2013, 01:39:10 pm »
Hey EvilZoners!  :P
 
Here is my latest creation, well actually I just took a perl script I found and improved it substantially.



https://github.com/d4rkcat/g0tr00t

There are two versions of the script - g0tr00t.sh and g0tr00t-self-contained.sh

g0tr00t.sh will attempt to download 117 local privilege escalation exploits using wget or curl, then attempt to execute them one by one until it gets (or doesn't get) root.

g0tr00t-self-contained will do the same but does not download anything instead it extracts the exploits using base64 and tar, or just tar and then attempts the exploits to get root.

This is designed for webmasters to test their security. NEVER use it on a server that you don't own (in the literal sense of the word).

Enjoy!
« Last Edit: November 02, 2013, 02:59:15 pm by d4rkcat »
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline ID

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -2
    • View Profile
Re: [BASH] g0tr00t.sh - local privilege escalation
« Reply #1 on: November 02, 2013, 01:46:05 pm »
Looks great. Will try it out later on. On a server that I own, of course silly !

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: [BASH] g0tr00t.sh - local privilege escalation
« Reply #2 on: November 02, 2013, 01:58:54 pm »
Lol, what the fuck is the pig ass picture for?

Why its r00t of course daxda what did you think it was?!  ;D
Actually I don't know how to size it down if you can help me with that I would appreciate it.

Looks great. Will try it out later on. On a server that I own, of course silly !

lol Thanks ID, I knew you knew I just thought some might need reminding  ;)
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: [BASH] g0tr00t.sh - local privilege escalation
« Reply #3 on: November 02, 2013, 02:54:14 pm »
Actually I don't know how to size it down if you can help me with that I would appreciate it.
You better learn to use the search, boy.

http://evilzone.org/news-and-announcements/properties-for-the-img-tag/

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: [BASH] g0tr00t.sh - local privilege escalation
« Reply #4 on: November 02, 2013, 03:00:45 pm »
You better learn to use the search, boy.

http://evilzone.org/news-and-announcements/properties-for-the-img-tag/

Nice many thanks friend now I know.
Should have been obvious really
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.