2016-12-18 11 views
0

FTP를 사용하여 웹 사이트에 텍스트 파일을 업로드하면 웹 사이트에서 텍스트를 완벽하게 표시하고 형식을 허용하지만 webclient.downloadstring을 실행하면 내가 스팸 가짜 바이러스 감염 보고서 페이지로 이동 얻을 bytehost7.com를 방문 할 때WebClient.DownloadString ("Website.com/text.txt")은 html을 반환합니다.

location.href="http://www.braintrail.byethost7.com/Projects/submission.txt?i=1"; 

: 당신이 세부 사항에 대한 응답을 보면

<html><body><script type="text/javascript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),b=toNumbers("98344c2eee86c3994890592585b49f80"),c=toNumbers("7ebbeaac07f92b3673f9cfa10425d300");document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; location.href="http://www.braintrail.byethost7.com/Projects/submission.txt?i=1";</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html> 

답변

0

, 당신은이 줄을 볼 수 있습니다. 비록 내가 www.braintrail.byethost7.com/Projects/submission.txt?i=1을 직접 가져 왔을 때 나는 당신이 업로드 한 텍스트 파일을 얻습니다.

잘 모르겠 으면 리소스를 숨기거나 악성 바이러스 메시지를 표시하기 위해 자체 웹 사이트를 해킹 한 악의적 인 웹 호스트가 있다고 말하고 싶습니다.

해결책 : 더 나은 웹 호스트를 얻으십시오.

또한 FTP는 쓸모없고 안전하지 않습니다.

+0

응답 해 주셔서 감사합니다. FTP 대신 다른 리소스를 제안 해 주실 수 있습니까? (나는 프로그래밍 방식으로 업로드했습니다). –