parent
9a56e5c4f9
commit
f5e0dddd3c
|
@ -28,8 +28,12 @@ module Nessus
|
|||
:json => 1
|
||||
}
|
||||
res = http_post(:uri=>"/session", :data=>payload)
|
||||
if res['token']
|
||||
@token = "token=#{res['token']}"
|
||||
true
|
||||
return true
|
||||
else
|
||||
false
|
||||
end
|
||||
end
|
||||
|
||||
def x_cookie
|
||||
|
|
Loading…
Reference in New Issue