-
Notifications
You must be signed in to change notification settings - Fork 17
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
[BUG] _scan_profiles
strips h
and m
from profile name
#69
Comments
fix issue #69 when profile name end with hmm the profile is not retrieved by msf
I was wondering if this bug fix will be incorporated in a conda release in the near future. Or alternatively is there a previous version we can specify that does not have this bug? Thank you |
Seconding Jewell's comment, is there any chance that a new bump release of MacSyFinder containing this fix commit could be released? Myself and others install macsyfinder and defensefinder via conda and this bug is preventing it from running. Thanks! |
We released defensefinder (v1.2.2) with a previous version of macsyfinder that did not have the bug. We'll make another release when macsyfinder will be released. |
Thank you!
From: jeanrjc ***@***.***>
Date: Thursday, February 22, 2024 at 7:20 AM
To: gem-pasteur/macsyfinder ***@***.***>
Cc: Alexandra Weisberg ***@***.***>, Comment ***@***.***>
Subject: Re: [gem-pasteur/macsyfinder] [BUG] `_scan_profiles` strips `h` and `m` from profile name (Issue #69)
We released defensefinder (v1.2.2) with a previous version of macsyfinder that did not have the bug. We'll make another release when macsyfinder will be released.
—
Reply to this email directly, view it on GitHub<#69 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC4UVIPUFZG27WVJ5HROCMDYU5O4LAVCNFSM6AAAAABBBN6OLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGY3TGNBYGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Describe the bug
The
_scan_profiles
function removes the.hmm
extension usingstrip
. However, this also removes trailingh
andm
characters from profile names, resulting in Macsyfinder being unable to find a profile.To Reproduce
Please see mdmparis/defense-finder#42, where I outlined the issue and @ZarulHanifah reported that it is driven by
strip
.Expected behavior
The command should exclusively remove the file extension. One option would be to use
replace
, i.e.Please complete the following information):
OS:
MacSyFinder Version:
The text was updated successfully, but these errors were encountered: