Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YulinSec/ChatGPTScanner
/ functions
Functions
92 in github.com/YulinSec/ChatGPTScanner
⨍
Functions
92
◇
Types & classes
55
↓ 4 callers
Method
ask_question
(self, pro: Project, select: Select, question: str, dry=False)
manager/manager.py:102
↓ 4 callers
Method
set_key
(self, api_key: str)
manager/manager.py:73
↓ 4 callers
Method
set_proxy
(self, proxy: str)
manager/manager.py:76
↓ 3 callers
Method
Get
()
benchmark/go-sec-code/controllers/ssrf.go:27
↓ 3 callers
Function
_ask
(messages)
manager/manager.py:53
↓ 3 callers
Method
ask
(self, pro: Project, select: Select, dry=False)
manager/manager.py:91
↓ 2 callers
Method
DoFilter
(input string, whitelists []string)
benchmark/go-sec-code/utils/securityUtils.go:49
↓ 2 callers
Method
Get
()
benchmark/go-sec-code/controllers/jsonp.go:22
↓ 2 callers
Function
build_message
(messages, pro: Project, select: Select, dry=False)
manager/manager.py:60
↓ 2 callers
Function
is_test
(name: str)
loader/loader.py:28
↓ 2 callers
Function
load_project
(root: str, language: typing.List[str], skip_test=True)
loader/loader.py:32
↓ 1 callers
Method
DoBlackFilter
(input string, blacklists []string)
benchmark/go-sec-code/utils/securityUtils.go:67
↓ 1 callers
Method
DoFilter
(input string)
benchmark/go-sec-code/utils/securityUtils.go:30
↓ 1 callers
Method
DoFilter
(input string, whitelists []string)
benchmark/go-sec-code/utils/securityUtils.go:35
↓ 1 callers
Method
DoFilter
(input string)
benchmark/go-sec-code/utils/securityUtils.go:44
↓ 1 callers
Method
DoFilter
(input string)
benchmark/go-sec-code/utils/securityUtils.go:62
↓ 1 callers
Method
DoFilter
(input string)
benchmark/go-sec-code/utils/securityUtils.go:107
↓ 1 callers
Method
DoGogsFilter
this filter comes from fix of cve-2022-0870 gogs SSRF
benchmark/go-sec-code/utils/securityUtils.go:103
↓ 1 callers
Method
DoWhiteFilter
(input string, whitelists []string)
benchmark/go-sec-code/utils/securityUtils.go:80
↓ 1 callers
Method
Get
()
benchmark/go-sec-code/controllers/sqli.go:52
↓ 1 callers
Method
Get
()
benchmark/go-sec-code/controllers/cors.go:22
↓ 1 callers
Function
IsLocalHostname
(hostname string, allowlist []string)
benchmark/go-sec-code/utils/gogs.go:46
↓ 1 callers
Function
chunk_string
(string, n)
loader/loader.py:24
↓ 1 callers
Method
execute_task
(self, task: Task, dry=False)
manager/manager.py:114
↓ 1 callers
Function
load_one
(file: str)
loader/loader.py:18
↓ 1 callers
Function
match_ext
(name: str, language: typing.List[str])
loader/loader.py:9
↓ 1 callers
Function
match_include
(path: str, include: typing.List[str])
manager/manager.py:44
Method
Get
()
benchmark/go-sec-code/controllers/xss.go:35
Method
Get
()
benchmark/go-sec-code/controllers/xss.go:41
Method
Get
()
benchmark/go-sec-code/controllers/xss.go:50
Method
Get
()
benchmark/go-sec-code/controllers/xss.go:58
Method
Get
()
benchmark/go-sec-code/controllers/xss.go:74
Method
Get
()
benchmark/go-sec-code/controllers/xss.go:82
Method
Get
()
benchmark/go-sec-code/controllers/sqli.go:76
Method
Get
()
benchmark/go-sec-code/controllers/sqli.go:100
Method
Get
()
benchmark/go-sec-code/controllers/sqli.go:121
Method
Get
()
benchmark/go-sec-code/controllers/sqli.go:151
Method
Get
()
benchmark/go-sec-code/controllers/sqli.go:178
Method
Get
()
benchmark/go-sec-code/controllers/sqli.go:202
Method
Get
()
benchmark/go-sec-code/controllers/zipslip.go:18
Method
Get
bypass can be : http://LOCALHOST:233 http://localhost.:233 http://0:233 and others
benchmark/go-sec-code/controllers/ssrf.go:46
Method
Get
()
benchmark/go-sec-code/controllers/ssrf.go:67
Method
Get
()
benchmark/go-sec-code/controllers/ssrf.go:87
Method
Get
()
benchmark/go-sec-code/controllers/xxe.go:25
Method
Get
()
benchmark/go-sec-code/controllers/xxe.go:48
Method
Get
()
benchmark/go-sec-code/controllers/traversal.go:28
Method
Get
()
benchmark/go-sec-code/controllers/traversal.go:37
Method
Get
()
benchmark/go-sec-code/controllers/traversal.go:47
Method
Get
()
benchmark/go-sec-code/controllers/traversal.go:61
Method
Get
()
benchmark/go-sec-code/controllers/upload.go:19
Method
Get
()
benchmark/go-sec-code/controllers/upload.go:35
Method
Get
()
benchmark/go-sec-code/controllers/cmdi.go:27
Method
Get
()
benchmark/go-sec-code/controllers/cmdi.go:38
Method
Get
()
benchmark/go-sec-code/controllers/cmdi.go:49
Method
Get
()
benchmark/go-sec-code/controllers/cmdi.go:58
Method
Get
()
benchmark/go-sec-code/controllers/crlfi.go:11
Method
Get
()
benchmark/go-sec-code/controllers/jsonp.go:36
Method
Get
()
benchmark/go-sec-code/controllers/jsonp.go:57
Method
Get
()
benchmark/go-sec-code/controllers/favicon.go:13
Method
Get
()
benchmark/go-sec-code/controllers/default.go:11
Method
Get
()
benchmark/go-sec-code/controllers/ssti.go:21
Method
Get
()
benchmark/go-sec-code/controllers/ssti.go:39
Method
Get
()
benchmark/go-sec-code/controllers/cors.go:39
Method
Get
()
benchmark/go-sec-code/controllers/cors.go:55
Method
Post
()
benchmark/go-sec-code/controllers/xss.go:67
Method
Post
()
benchmark/go-sec-code/controllers/zipslip.go:22
Method
Post
()
benchmark/go-sec-code/controllers/xxe.go:34
Method
Post
()
benchmark/go-sec-code/controllers/xxe.go:57
Method
Post
()
benchmark/go-sec-code/controllers/upload.go:23
Method
Post
()
benchmark/go-sec-code/controllers/upload.go:39
Method
Post
()
benchmark/go-sec-code/controllers/default.go:15
Method
__init__
(self, root, content, language)
loader/project.py:2
Method
__init__
(self, include:typing.List[str], exclude=[])
manager/select.py:3
Method
__init__
(self,root:str,language:str, include:typing.List[str], exclude=[])
manager/select.py:8
Method
ask_src
(self, src: typing.List[str])
manager/manager.py:80
Function
check_params
(**kwargs)
utils/util.py:5
Function
common_scan
(root:str, language:typing.List[str], include:typing.List[str], exclude=[], key="", proxy="", dry=False)
module/common_scan.py:2
Method
common_scan
scan project file and output report
cli.py:32
Function
dump
(result)
utils/util.py:1
Function
dump
(result)
module/common_scan.py:21
Method
execute_task_question
(self, task: Task, question: str, dry=False)
manager/manager.py:119
Function
init
()
benchmark/go-sec-code/controllers/sqli.go:18
Function
init
()
benchmark/go-sec-code/utils/gogs.go:10
Function
init
()
benchmark/go-sec-code/models/user.go:9
Function
init
()
benchmark/go-sec-code/routers/router.go:9
Function
main
()
benchmark/go-sec-code/main.go:8
Function
main
()
benchmark/go-sec-code/cmd/taint/main.go:9
Function
need_prompt_1
()
manager/manager.py:28
Function
need_prompt_2
(source: str, format=DEFUALT_TAINT_FORMAT)
manager/manager.py:34
Function
need_prompt_3
(sink: str, format=DEFUALT_TAINT_FORMAT)
manager/manager.py:40
Function
taint_sink_scan
(root:str, language:typing.List[str], sink:str, include=[], exclude=[], key="", proxy="", dry=False)
module/taint_sink_scan.py:2
Method
taint_sink_scan
scan project and output taint path to sink
cli.py:44