don't complain about no session being created when DisablePayloadHandler is true
git-svn-id: file:///home/svn/framework3/trunk@11470 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
152eb80710
commit
0ba8cbd8a1
|
@ -195,7 +195,11 @@ class Exploit
|
||||||
end
|
end
|
||||||
# Worst case, the exploit ran but we got no session, bummer.
|
# Worst case, the exploit ran but we got no session, bummer.
|
||||||
else
|
else
|
||||||
print_status("Exploit completed, but no session was created.")
|
# If we didn't run a payload handler for this exploit it doesn't
|
||||||
|
# make sense to complain to the user that we didn't get a session
|
||||||
|
unless (mod.datastore["DisablePayloadHandler"])
|
||||||
|
print_status("Exploit completed, but no session was created.")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue