MCPcopy
hub / github.com/epinna/tplmap / blind_detected

Method blind_detected

core/plugin.py:99–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 self.set('reverse_shell', True)
98
99 def blind_detected(self):
100
101 # Blind has been detected so code has been already evaluated
102 self.set('evaluate_blind', self.language)
103
104 test_cmd_code = self.actions.get('execute', {}).get('test_cmd')
105
106 if (
107 test_cmd_code and
108 # self.execute_blind() returns true or false
109 self.execute_blind(test_cmd_code)
110 ):
111 self.set('execute_blind', True)
112 self.set('write', True)
113 self.set('bind_shell', True)
114 self.set('reverse_shell', True)
115
116
117 def detect(self):

Callers 1

detectMethod · 0.95

Calls 3

setMethod · 0.95
execute_blindMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected