mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 04:09:01 +00:00
o [NSE] Applied patch to http-fingerprints adding support for identifying DCVS
systems Git, Mercurial and Bazaar. [Hani Benhabiles]
This commit is contained in:
@@ -956,6 +956,16 @@ table.insert(fingerprints, {
|
||||
}
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
category='general',
|
||||
probes={
|
||||
{path='/clientaccesspolicy.xml', method='HEAD'},
|
||||
},
|
||||
matches= {
|
||||
{output='Microsoft Silverlight crossdomain policy'}
|
||||
}
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
category='general',
|
||||
probes={
|
||||
@@ -2710,6 +2720,36 @@ table.insert(fingerprints, {
|
||||
}
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
category='attacks',
|
||||
probes={
|
||||
{path='/.git/HEAD', method='GET'},
|
||||
},
|
||||
matches= {
|
||||
{match='ref: refs', output='Git folder'}
|
||||
}
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
category='attacks',
|
||||
probes={
|
||||
{path='/.hg/requires', method='GET'},
|
||||
},
|
||||
matches= {
|
||||
{match='revlogv1', output='Mercurial folder'}
|
||||
}
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
category='attacks',
|
||||
probes={
|
||||
{path='/.bzr/README', method='GET'},
|
||||
},
|
||||
matches= {
|
||||
{match='This is a Bazaar', output='Bazaar folder'}
|
||||
}
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
category='attacks',
|
||||
probes={
|
||||
|
||||
Reference in New Issue
Block a user