Skip to content
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

False positives scanning self folder #10

Closed
inire opened this issue May 26, 2015 · 9 comments
Closed

False positives scanning self folder #10

inire opened this issue May 26, 2015 · 9 comments

Comments

@inire
Copy link

inire commented May 26, 2015

When I ran the scan this morning the scan found a ton of issues in the downloads folder where the Loki scanner was.

command line was simply loki.exe

http://pastebin.com/FJ2W8Wfb

thanks! great tool.

@Neo23x0
Copy link
Owner

Neo23x0 commented May 26, 2015

How did you run loki.exe? (did you add the directory to the PATH variable?
Did you execute the loki.exe in C:\Users\USERNAME\Downloads\Loki-master\Loki-master\ or a copy of it somewhere else on disk?
The program automatically excludes the working directory from the scan.

@inire
Copy link
Author

inire commented May 26, 2015

started command line in administrator mode.
executed file loki.exe in the C:\Users\USERNAME\Downloads\Loki-master\Loki-master\ folder.
no options, just the exe by itself.

@Neo23x0
Copy link
Owner

Neo23x0 commented May 26, 2015

Could you check if this still happens with version 0.7.1of the loki.exe which I uploaded a few minutes ago?

@inire
Copy link
Author

inire commented May 26, 2015

downloading, testing. will reply back. thanks.

@Neo23x0
Copy link
Owner

Neo23x0 commented May 26, 2015

You could speed things up by using
loki.exe --noprocs -p C:\Users\USERNAME\Downloads

@Neo23x0
Copy link
Owner

Neo23x0 commented May 27, 2015

Ah - it's a problem with the long path because sys.executable gives the DOS 8 character directories names in its response:
C:\Users\neo\DOWNLO1\LOKI-M1\loki.exe
1 C:\Users\neo\DOWNLO1\LOKI-M1
Test: C:\Users\neo\DOWNLO1\LOKI-M1

I have to find out how the sys module returns an NT path.

@Neo23x0
Copy link
Owner

Neo23x0 commented May 27, 2015

I think I fixed it now with version 0.7.2

See the PyInstalled issue: pyinstaller/pyinstaller#1282

@inire
Copy link
Author

inire commented May 27, 2015

ok, downloaded, and will retest now.

didn't reply to yesterdays (0.7.1) because it didn't finish running for a while.

@inire
Copy link
Author

inire commented May 28, 2015

Neo,

That did the trick, thanks. No self folder scanning.

Thanks for looking into this and fixing so quickly.

@Neo23x0 Neo23x0 closed this as completed Jun 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants