Giter VIP home page Giter VIP logo

mxs's People

Contributors

git1-fagun avatar m-enes avatar sarperavci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mxs's Issues

Throws OSError

Sometimes it throws
OSError: [Errno 24] Too many open files: 'vulnerable_urls.txt'

MXS doesn't find the XSS in the HTML response

Hello,

I'm having a problem using this tool. For testing purposes, I use PortSwigger's XSS reflected lab : https://portswigger.net/web-security/cross-site-scripting/reflected/lab-html-context-nothing-encoded

I added this link in a t.txt file.

https://0a170095045518cb8594bf1400550000.web-security-academy.net/?search=ds

The tool does not find the classic reflected XSS :

https://0a170095045518cb8594bf1400550000.web-security-academy.net/?search=<script>alert(1)</script>

python3 MXS.py -i t.txt -o results.txt
 [i] Starting scan with 50 concurrency
 [i] Output file: results.txt
 [i] Timeout: 15 seconds
 [i] Scanning finished. All URLs are saved to results.txt
 [i] Total found: 0
 [i] Total scanned: 1
 [i] Time taken: 0 seconds

On the other hand, the lab is well solved, so the tool's payloads are fully functional, it's the XSS validation function that's not working properly.

image

custom payload not working!

python3 MXS.py -i list -c 10 -o out -t 15 -p '"><script>alert(1)</script>'

Error loading payload file: "><script>alert(1)</script>
 [i] Starting scan with 10 concurrency
 [i] Output file: out
 [i] Timeout: 15.0 seconds
 [+] Vulnerable parameter found:  http://blankonthemap.free.fr/1_accueil/index.php?code=%22jaVasCript%3A/%2A-/%2A%60/%2A%5C%60/%2A%27/%2A%22/%2A%2A/%28/%2A%20%2A/oNcliCk%3Dalert%281%29%20%29////%3C/stYle/%3C/titLe/%3C/teXtarEa/%3C/scRipt/--%21%3E%3CsVg/%3CsVg/oNloAd%3Dalert%281%29//%3E%3E
 [i] Scanning finished. All URLs are saved to out
 [i] Total found: 1
 [i] Total scanned: 1
 [i] Time taken: 0 seconds

and Vulnerable parameter found is a false positive.

I have this problem

[i] Timeout: 15 seconds
Traceback (most recent call last):jectable URLs
File "/root/MXS/MXS.py", line 21, in
scanner.run()
File "/root/MXS/func.py", line 121, in run
asyncio.run(self.scan())
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/MXS/func.py", line 99, in scan
async with aiohttp.ClientSession(timeout=timeout, connector=aiohttp.TCPConnector(ssl=False, limit=0, enable_cleanup_closed=True)) as session:
File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 1140, in aexit
await self.close()
File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 1006, in close
await self._connector.close()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 792, in close
return super().close()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 409, in close
self._close()
File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 439, in _close
transport.abort()
File "/usr/lib/python3.11/asyncio/sslproto.py", line 247, in abort
self._ssl_protocol._abort()
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute '_abort'

Planned Features

  • Support for multiple payloads
  • Enhanced concurrency
  • Warning system for various errors like file not found
  • Verbose levels determined by command line arguments.

Wordlist?

Can we not scan single url? Also why did u use wordlists.txt when all we hv to scan us a url..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.