mirror of
https://github.com/NetSPI/PowerHuntShares.git
synced 2025-06-28 13:48:43 +02:00
Update Analyze-HuntSMBShares.ps1
Fixed bug.
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
# Author: Scott Sutherland, 2024 NetSPI
|
# Author: Scott Sutherland, 2024 NetSPI
|
||||||
# License: 3-clause BSD
|
# License: 3-clause BSD
|
||||||
# Version: v1.97
|
# Version: v1.98
|
||||||
# References: This script includes custom code and code taken and modified from the open source projects PowerView, Invoke-Ping, and Invoke-Parrell.
|
# References: This script includes custom code and code taken and modified from the open source projects PowerView, Invoke-Ping, and Invoke-Parrell.
|
||||||
function Analyze-HuntSMBShares
|
function Analyze-HuntSMBShares
|
||||||
{
|
{
|
||||||
@ -7369,6 +7369,9 @@ Folder groups are SMB shares that contain the exact same file listing. Each fold
|
|||||||
document.getElementById('FilterEdgePriv').checked = true; // Set the checkbox to checked
|
document.getElementById('FilterEdgePriv').checked = true; // Set the checkbox to checked
|
||||||
document.getElementById('FilterEdgeHosted').checked = true; // Set the checkbox to checked
|
document.getElementById('FilterEdgeHosted').checked = true; // Set the checkbox to checked
|
||||||
document.getElementById('FilterEdgeChild').checked = true; // Set the checkbox to checked
|
document.getElementById('FilterEdgeChild').checked = true; // Set the checkbox to checked
|
||||||
|
|
||||||
|
// Update counts
|
||||||
|
updateCounts();
|
||||||
}
|
}
|
||||||
|
|
||||||
// #################################
|
// #################################
|
||||||
@ -7864,6 +7867,7 @@ Folder groups are SMB shares that contain the exact same file listing. Each fold
|
|||||||
return !node.hasClass('faded');
|
return !node.hasClass('faded');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
// Find edges connected to non-faded nodes
|
// Find edges connected to non-faded nodes
|
||||||
var edgesToUpdate = cy.edges().filter(function(edge) {
|
var edgesToUpdate = cy.edges().filter(function(edge) {
|
||||||
return nonFadedNodeIds.includes(edge.source().id()) || nonFadedNodeIds.includes(edge.target().id());
|
return nonFadedNodeIds.includes(edge.source().id()) || nonFadedNodeIds.includes(edge.target().id());
|
||||||
@ -7872,6 +7876,7 @@ Folder groups are SMB shares that contain the exact same file listing. Each fold
|
|||||||
// Remove 'faded' class from these edges
|
// Remove 'faded' class from these edges
|
||||||
edgesToUpdate.removeClass('faded');
|
edgesToUpdate.removeClass('faded');
|
||||||
edgesToUpdate.removeClass('invisible');
|
edgesToUpdate.removeClass('invisible');
|
||||||
|
*/
|
||||||
|
|
||||||
// Update counts
|
// Update counts
|
||||||
updateCounts();
|
updateCounts();
|
||||||
|
Reference in New Issue
Block a user