-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUPLOAD.PHP
executable file
·168 lines (84 loc) · 3.51 KB
/
UPLOAD.PHP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<TITLE>[ nemo hackers ]</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1" CHARSET="iso-8859-1">
<META NAME="keywords" CONTENT=
"newbie, newbies, newbiesplace, newbiezplace, learn to hack, how to hack, how do i hack,hack hotmail, hacking hotmail, hack yahoo, hacking yahoo, hacking tools, hacking programs, hacking site, newby, newbeisplace, newbeizplace,">
<META NAME="description" CONTENT="NewbiezPlace.com - Where newbies come to learn the art of hacking. This site is a vast resource for hacking methodology and toolz">
<META NAME="robots" CONTENT="FOLLOW,INDEX">
<?php require('header.php'); ?>
<TABLE BGCOLOR="#000000" BORDER="0" CELLPADDING="5" CELLSPACING="0" WIDTH="750"><TR>
<TD BGCOLOR="#000000" VALIGN="top" WIDTH="160">
<TABLE BGCOLOR="#1c1f22" BORDER="0" CELLPADDING="2" CELLSPACING="1" WIDTH="160">
<TR BGCOLOR="#515468"><TD BGCOLOR="#024070" WIDTH="160">
<CENTER><CENTER CLASS="small_uppercase"><b>Menu</b></CENTER></CENTER>
</TD></TR>
<TR BGCOLOR="#1c1f22">
<TD WIDTH="160" BGCOLOR="#1c1f22" CELLPADDING="2">
<TABLE BORDER="0" CELLPADDING="4" CELLSPACING="0" WIDTH="100%">
<TR CLASS="small">
<TD BGCOLOR="#1C1F22" HEIGHT="426" VALIGN="top">
<CENTER>
<?php require('menu.php'); ?>
</CENTER>
</TD></TR></TABLE></TD></TR></TABLE>
</TD>
<!------------end left column--------------->
<!------------right column--------------->
<TD BGCOLOR=#000000 VALIGN=top>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR VALIGN=top><TD BGCOLOR="#000000">
<!------------------11111111111111111111111111------------------>
<TABLE BGCOLOR=#1c1f22 BORDER=0 CELLPADDING=0 CELLSPACING=1 WIDTH="100%">
<TR BGCOLOR=#515468><TD BGCOLOR="#024070">
<CENTER><b>Upload</b></CENTER>
</TD></TR>
<TR BGCOLOR=#24252f>
<TD>
<TABLE BORDER=0 CELLPADDING=4 CELLSPACING=0 WIDTH="100%">
<TR CLASS=small><TD BGCOLOR="#1C1F22">
<div align = justify>Please upload any texts you have to our <a href=archive.php>archive</a>. We
would prefer *.txt but we're not too fussy.</div><br>
<center>
<?php
if(!$mode) {
$mode = "form";
}
if($mode == "form") {
?>
<form method="post" action="<?php echo $SCRIPT_NAME; ?>" enctype="multipart/form-data">
<input name="userfile[]" type="file">
<input name="userfile[]" type="file">
<input name="userfile[]" type="file">
<input name="userfile[]" type="file">
<input name="userfile[]" type="file">
<input name="userfile[]" type="file"> <br>
<br>
<input type=hidden name=mode value=upload>
<input type="submit" value="Upload!!!"></form>
<?
}
else if($mode == "upload") {
for($i=0;$i<sizeof($userfile);$i++)
{
if(!$userfile_size[$i])
continue;
$UPLOAD = fopen( $userfile[$i], "r" );
$contents = fread( $UPLOAD,$userfile_size[$i]);
fclose( $UPLOAD );
$SAVEFILE = fopen( "arch//".$userfile_name[$i], "wb" );
fwrite( $SAVEFILE, $contents,$userfile_size[$i] );
fclose( $SAVEFILE );
}
echo "Upload!";
}
?>
</center>
</td></tr></table>
</TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE>
</TD></TR></TABLE></TD></TR></TABLE>
<TABLE BGCOLOR=#000000 BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=750 HEIGHT=2>
<TR BGCOLOR="#024070" HEIGHT=2><TD BGCOLOR="#024070" HEIGHT=2></TD></TR></TABLE>
<?php require('footer.php'); ?>
<BR>