File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def mssql_query(sqla, doprint=false)
144
144
if ( datastore [ 'METHOD' ] == 'GET' )
145
145
146
146
unless datastore [ 'GET_PATH' ] . index ( "[SQLi]" )
147
- fail_with ( Failure ::NoTarget , "The SQL injection parameter was not specified in the GET path" )
147
+ fail_with ( :: Msf :: Module :: Failure ::NoTarget , "The SQL injection parameter was not specified in the GET path" )
148
148
end
149
149
150
150
uri = datastore [ 'GET_PATH' ] . gsub ( "[SQLi]" , Rex ::Text . uri_encode ( sqla ) )
@@ -160,7 +160,7 @@ def mssql_query(sqla, doprint=false)
160
160
else
161
161
162
162
unless datastore [ 'DATA' ] . index ( "[SQLi]" )
163
- fail_with ( Failure ::NoTarget , "The SQL injection parameter was not specified in the POST data" )
163
+ fail_with ( :: Msf :: Module :: Failure ::NoTarget , "The SQL injection parameter was not specified in the POST data" )
164
164
end
165
165
166
166
post_data = datastore [ 'DATA' ] . gsub ( "[SQLi]" , Rex ::Text . uri_encode ( sqla ) )
You can’t perform that action at this time.
0 commit comments