id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32,200 | log.py | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/log.py | import logging
from .colors import *
__all__ = ["setup_logger", "console_log_level", "file_log_level", "log_file"]
console_log_level = "INFO"
file_log_level = None
log_file = "xsstrike.log"
"""
Default Logging Levels
CRITICAL = 50
ERROR = 40
WARNING = 30
INFO = 20
DEBUG = 10
"""
VULN_LEVEL_NUM = 60
RUN_LEVEL_NUM = ... | 5,982 | Python | .py | 159 | 31.371069 | 113 | 0.650242 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,201 | encoders.py | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/encoders.py | import base64 as b64
import re
def base64(string):
if re.match(r"^[A-Za-z0-9+\/=]+$", string) and (len(string) % 4) == 0:
return b64.b64decode(string.encode("utf-8")).decode("utf-8")
else:
return b64.b64encode(string.encode("utf-8")).decode("utf-8")
| 276 | Python | .py | 7 | 34.714286 | 74 | 0.629213 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,202 | updater.py | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/updater.py | import os
import re
from requests import get
from core.config import changes
from core.colors import que, info, end, green
from core.log import setup_logger
logger = setup_logger(__name__)
def updater():
logger.run("Checking for updates")
latestCommit = get(
"https://raw.githubusercontent.com/s0md3v... | 1,613 | Python | .py | 38 | 34.026316 | 87 | 0.595921 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,203 | htmlParser.py | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/htmlParser.py | import re
from core.config import badTags, xsschecker
from core.utils import isBadContext, equalize, escaped, extractScripts
def htmlParser(response, encoding):
rawResponse = response # raw response returned by requests
response = response.text # response content
if encoding: # if the user has specifi... | 5,104 | Python | .py | 110 | 31.863636 | 94 | 0.51373 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,204 | photon.py | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/photon.py | import re
import concurrent.futures
from urllib.parse import urlparse
from core.dom import dom
from core.log import setup_logger
from core.utils import getUrl, getParams
from core.requester import requester
from core.zetanize import zetanize
from plugins.retireJs import retireJs
logger = setup_logger(__name__)
def ... | 3,725 | Python | .py | 82 | 34.402439 | 87 | 0.566676 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,205 | generator.cpython-39.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/generator.cpython-39.pyc | a
£ÉKbÍ! ã @ sX d dl mZmZmZmZmZmZmZmZm Z d dl
mZ d dlm
ZmZmZ dd„ ZdS )é ) Ú
xsscheckerÚbadTagsÚfillingsÚ eFillingsÚ lFillingsÚ jFillingsÚ
eventHandlersÚtagsÚ functions)ÚjsContexter)ÚrandomUpperÚgenGenÚextractScriptsc C sÂ... | 3,824 | Python | .py | 70 | 53.371429 | 415 | 0.373901 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,206 | updater.cpython-38.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/updater.cpython-38.pyc | U
ÁDê`% ã @ sh d dl Z d dlZd dlmZ d dlmZ d dlmZmZm Z m
Z
mZmZ d dl
mZ eeƒZdd„ ZdS )é N)Úget)Úchanges)ÚrunÚqueÚgoodÚinfoÚendÚgreen)Úsetup_loggerc C sî t d¡ tdƒj} t| kràt d| ¡}| d¡ d¡}t d... | 1,417 | Python | .py | 16 | 87.5 | 494 | 0.514979 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,207 | config.cpython-38.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/config.cpython-38.pyc | U
ÁDê` ã ` @ sR d Z i ZdZdZdZdddœZdZdZdZdZ d d
gZ
dZdZd
Z
dZdZdZdgddddgdddgdœZdZdZdZddddddddœZd d!d"d#d$d%d&d'd(d)d
d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadb... | 3,353 | Python | .py | 14 | 238.428571 | 1,272 | 0.669162 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,208 | colors.cpython-39.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/colors.cpython-39.pyc | a
ÁDê`m ã @ sÌ d dl Z d dlZd dlZdZe jZe ¡ Ze ¡ d¡r<dZe d¡rnee ¡
d¡d ƒdkrndZe d ¡ esœd Z Z
Z Z Z Z Z Z ZZn,d
ZdZdZ
d
ZdZdZdZdZdZdZdZdS )é NT)ÚosÚwinÚdarwinZiosFz
Windows-10Ú.é iZ) Ú z[97mz... | 725 | Python | .py | 7 | 102.285714 | 212 | 0.522949 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,209 | config.cpython-39.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/config.cpython-39.pyc | a
£ÉKb ã @ s� d Z i ZdZdZdZdddœZdZdZdZdZ d d
gZ
dZdZd
Z
dZdZdZdgg d¢g d¢dœZdZdZdZddddddddœZg d¢Zd S )!z6Negligible DOM XSS false positives;x10 faster crawlingZnanoÚ Zv3dm0szhttp://0.0.0.0:8080)ÚhttpÚhttpséZ é é
Zsrc... | 3,016 | Python | .py | 12 | 250.166667 | 1,272 | 0.695406 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,210 | utils.cpython-39.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/utils.cpython-39.pyc | a
£ÉKbÚ ã @ sş d dl Z d dlZd dlZd dlmZ d dlZd dlmZ d4dd„Zdd„ Z d d
„ Z
dd„ Zd5dd„Zdd„ Z
d6dd„Zdd„ Zdd„ Zdd„ Zdd„ Zd7dd„Zdd„ Zd d!„ Zd"d#„ Zd$d%„ Zd&d'„ Zd(d)„ Zd*d+„ Zd8d,d-„Zd.d/„ Zd0d1„ Zd2d3„ ZdS )9é N)Úurlparse... | 7,286 | Python | .py | 56 | 128.535714 | 933 | 0.378752 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,211 | colors.cpython-38.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/colors.cpython-38.pyc | U
ÁDê`m ã @ sÌ d dl Z d dlZd dlZdZe jZe ¡ Ze ¡ d¡r<dZe d¡rnee ¡
d¡d ƒdkrndZe d ¡ esœd Z Z
Z Z Z Z Z Z ZZn,d
ZdZdZ
d
ZdZdZdZdZdZdZdZdS )é NT)ÚosÚwinÚdarwinZiosFz
Windows-10Ú.é iZ) Ú z[97mz... | 714 | Python | .py | 7 | 100.714286 | 201 | 0.516949 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,212 | checker.cpython-38.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/checker.cpython-38.pyc | U
ÁDê`ß ã @ s\ d dl Z d dlmZ d dlZd dlmZ d dlmZ d dlm Z d dl
mZmZ dd„ Z
dS ) é N)Úfuzz)Úunquote)Ú
xsschecker)Ú requester)ÚreplaceValueÚ fillHolesc C sn d| d } |r|t | ƒƒ} t| t|t| tjƒ||||ƒj ¡ }
g }t ... | 1,347 | Python | .py | 24 | 54.833333 | 238 | 0.481118 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,213 | log.cpython-38.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/log.cpython-38.pyc | U
ÁDê`E ã @ sd d dl Z ddlT ddddgZdZdZd Zd
ZdZdZe ed
¡ e ed¡ e ed¡ dd„ Z
dd„ Zdd„ Ze
e j
_ee j
_ee j
_e jd ee¡dœe jedœeedœeedœe jd ee¡dœe jedœe jd ee¡dœed ee¡dœdœZG dd„ de jƒZG dd„ ... | 4,722 | Python | .py | 48 | 96.666667 | 569 | 0.397433 | v3n0m-Scanner/V3n0M-Scanner | 1,450 | 406 | 7 | GPL-3.0 | 9/5/2024, 5:14:30 PM (Europe/Amsterdam) |
32,214 | wafDetector.cpython-38.pyc | v3n0m-Scanner_V3n0M-Scanner/src/modules/xss-strike/core/__pycache__/wafDetector.cpython-38.pyc | U
ÁDê`1 ã @ sD d dl Z d dlZd dlZd dlmZ d dlmZ eeƒZdd„ Z dS )é N)Ú requester)Úsetup_loggerc C sd t tjd d dƒ�}t |¡}W 5 Q R X d}||d< |