-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request - Add ZimmermanTools to the SIFT #602
Comments
Hi @mark-hallman , sounds interesting. I'll see if I can take a look at it tonight and see how it goes! |
Zimmerman tools would be a nice addition. We did it manually for FOR508. One thing to consider including is a set of aliases to make it easier to run the commands (so you can just run
|
Looks good, I'll use and test these, no sense reinventing the wheel :) |
So there will need to be a couple of changes, but this can work. The changes I'll need to make are:
Other than that, everything should work fine. @mpilking or @mark-hallman , do either of you have known-good artifacts I can use to test each of these tools to ensure that these work prior to rolling out? |
Use the aliases file that I included in my 1st post. They are Mike's aliases from 508, but they have been updated to use an environment $ZIMMERMAN_HOME to make it easier to change the install location. The most important change is that the path in the aliases has been updated to include "zimmermantools/net6". This is required to use Eric's script to update tools. These tools are updated often. If you use the steps I included, the installer will do all these things. I think it is easier to reinstall the tools using Get-ZimmermanTool alias that I added to the alias file than to try and add the net6 dir and move the files. Happy to answer any questions etc and to test. I check out the issues with PECmd and SUMECmd. The error message you included makes sense; modern prefetch files are compressed. |
Aliases file updated for iisGeolocate sub-dir. I confirmed that PECmd and SumECmd do have issues running in a non-Windows env. I'll reach out to Eric and see if he has a solution or if that is just how it is. If PECmd doesn't work, that's a real bummer, but happy to take what we can get. |
One more for the does not work on a non-Windows OS. I'm wondering how to deal with this. We probably want to remove the aliases for these three. Even if we remove the exe and dll for those three, the next time that an update is run, they will get repopulated. I feel that if someone is smart enough to figure out how to run those specific tools without the alias, they should be able to deal with the messages that are returned. Thoughts? |
Never midn about the last comment about adding |
State is complete, final testing underway. I've opted for using the "wrapper" method vice the "alias" method, whereby a short bash script will be created in #!/bin/bash
dotnet /opt/zimmermantools/{{ tool }}.dll ${*} The reasoning behind this is that, when writing to a universal /etc/ aliases file (eg /etc/profile.d/10-aliases.sh or the like), it could become more challenging to update / modify the alias should something change, and it avoids collision with an existing aliases file if the user is installing SIFT alongside another tool-set in the same VM, or if the user has already customized their aliases files. This method will also make the tools available to the root user, and other new users down the road, without additional modification of the aliases file. If you believe the aliases method is a better option, please let me know! I'm all about making sure we get the best product in the end. :) |
So, I've been trying for an hour or two, and I can't complete an accurate test, due to some ongoing internet connectivity issues I'm having with my ISP. Rest assured, the state is ready to go, but until I can complete an accurate test, I won't be able to push it as a PR. Hopefully this isn't an issue tomorrow. |
The wrapper seems like the better approach. It also probably has the benefit that it works better inside other shell scripts. I created a bash script for some automation recently and tried to use the Thanks for your help! |
So far I've tested a couple of the zimmerman apps on SIFT and I'm really liking it, but I ran into another app that is cranky but wasn't called out as one that has issues on Linux. When I run SrumECmd I get this message. ~Salty |
This is a pretty simple install with just one prereq, .Net6.
/opt/zimmermantools
Get-ZimmermanTools.zip
from hereGet-ZimmermanTools.zip
and copyGet-ZimmermanTools.ps1
to/opt/zimmermantools
Get-ZimmermanTools
, which is an alias for'cd $ZIMMERMAN_HOME && powershell $ZIMMERMAN_HOME/Get-ZimmermanTools.ps1'
All the ZimmermanTools will be downloaded, and the tools can be run with the aliases provided. The aliases provide the same experience that one would see in a Windows environment.zimmermantools_linx_aliases.txt
The text was updated successfully, but these errors were encountered: