mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 00:49:01 +00:00
Add "bzr --revert" backup pattern to http-backup-finder.nse.
This commit is contained in:
@@ -56,6 +56,7 @@ local function backupNames(filename)
|
||||
table.insert(backup_names, "Copy of {basename}.{suffix}") -- windows copy
|
||||
table.insert(backup_names, "Copy (2) of {basename}.{suffix}") -- windows second copy
|
||||
table.insert(backup_names, "{basename}.{suffix}.1") -- generic backup
|
||||
table.insert(backup_names, "{basename}.{suffix}.~1~") -- bzr --revert residue
|
||||
|
||||
end
|
||||
|
||||
@@ -133,4 +134,4 @@ action = function(host, port)
|
||||
backups.name = crawler:getLimitations()
|
||||
return stdnse.format_output(true, backups)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user