Created
February 9, 2016 22:23
Adds a signature for BeEF control UI to http-default-accounts-fingerprints
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Adds a signature for BeEF control UI | |
--- a/nselib/data/http-default-accounts-fingerprints.lua | |
+++ b/nselib/data/http-default-accounts-fingerprints.lua | |
@@ -199,6 +199,27 @@ | |
return try_http_post_login(host, port, path, "login", "Invalid auth credentials!", {submit="+Login+", userName=user, password=pass}) | |
end | |
}) | |
+ | |
+table.insert(fingerprints, { | |
+ name = "BeEF", | |
+ category = "web", | |
+ paths = { | |
+ {path = "/ui/authentication/"} | |
+ }, | |
+ target_check = function (host, port, path, response) | |
+ return response.body | |
+ and response.body:lower():find("<title>beef authentication</title>", 1, true) | |
+ end, | |
+ login_combos = { | |
+ {username = "beef", password = "beef"} | |
+ }, | |
+ login_check = function (host, port, path, user, pass) | |
+ return try_http_post_login(host, port, path, "login", | |
+ "{%s*success%s*:%s*false%s*}", | |
+ {["username-cfrm"]=user, ["password-cfrm"]=pass}) | |
+ end | |
+}) | |
+ | |
--- | |
--ROUTERS | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment