Skip to content

Commit e71c945

Browse files
authored
Add parser
1 parent 80ce6aa commit e71c945

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

settings.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from os import path
2+
from urllib.parse import urlparse
23

34
BASE_PATH = path.abspath(path.join(__file__, "../"))
45
DISCORD_TOKEN = ""
@@ -8,17 +9,18 @@
89
RECON_PATH = ""
910
DEBUG = True
1011
ADMIN_CHANNEL = 812515205082906644
12+
ADMIN_CHANNEL = int(urlparse(str(ADMIN_CHANNEL)).path.split('/')[-1:][0])
1113
DISABLE_NUCLEI_INFO = True
1214
NUCLEI_WEBHOOK = ""
1315
COMMANDS_PREFIX = "."
1416

1517
TOOLS = {
16-
"dirsearch":"tools/dirsearch/",
17-
"gitgraber":"tools/gitGraber/",
18-
"findomain":"tools/findomain-linux",
19-
"nuclei-templates":"tools/nuclei-templates/",
20-
"paramspider":"tools/ParamSpider/",
21-
"smuggler":"tools/smuggler/"
18+
"dirsearch": f"{BASE_PATH}/tools/dirsearch/",
19+
"gitgraber": f"{BASE_PATH}tools/gitGraber/",
20+
"findomain": f"{BASE_PATH}/tools/findomain-linux",
21+
"nuclei-templates": f"{BASE_PATH}/tools/nuclei-templates/",
22+
"paramspider": f"{BASE_PATH}/tools/ParamSpider/",
23+
"smuggler": f"{BASE_PATH}/tools/smuggler/"
2224
}
2325

2426
RCE = [';' , '`' , '$' , '(' , ')' , '|' , '&' , '%', '\n', '<', '>']

0 commit comments

Comments
 (0)