-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Weird files created when I try to initialize IPFS. #4527
Comments
Can you give some more details on this? What ipfs command are you running, and when are they created? |
Basic ipfs daemon --init. I will joint the weird files in this comment. |
Something really weird. I'd stop running ipfs for now while we investigate this. Could you post your ipfs config (it's in the repo)? |
Here is a snapshot of the files in my g:\ipfs folder: Here is a zip file of all the weird files: I will now try to rerun ipfs with Procmon to see when ipfs is creating those files. |
@gdeverlant did you end up getting any procmon? If so I'd be interested in what it shows (or looking at the file). It also seems weird that if IPFS is creating those files, it's creating them in the same directory as the IPFS executable -- unless maybe the IPFS_PATH is set to the same directory as where the executable lives. |
It's not happening anymore because I'm not going to use IPFS. This project is just fluff and there is zero security at the core of the design. When weird chinese file are appearing it means that this is a huge trojan horse. |
Given that you seem to be the first (only?) person to encounter this issue, I'm guessing it's something specific to your environment -- which will make it difficult to troubleshoot without input. |
That's not "weird Chinese", it's random data decoded as text (the same junk that your printer will spit out if improperly configured). This is a really weird (and bad) bug, but it doesn't make IPFS a trojan (nit: an actual trojan would be undetectable, that's kind of the point). As @leerspace says, we can't reproduce this issue so it's a bit hard to debug without your help. |
I will try to rerun the program to see if it happens still. Right now I'm kinda busy but I will keep you updated. @Stebalien If this is not weird Chinese what is it ? |
It's what you get when you try to decode random binary as text (I assume windows is trying to decode this as Unicode). It often decodes as Chinese because there are a lot of Chinese characters in the Unicode spec. That is, if you pick a random printable character out of the Unicode spec, it's probably a Chinese. However, you'll notice that it's not all Chinese: There are boxes, crosses, per-mill (percent percent) symbols, dots, arrows, etc. |
@gdeverlant A few questions that will help us:
|
|
are you sure? IPFS is not installable via go get. |
For what it's worth... I just updated go to 1.9.2, changed my The main difference is that my machine is a physical Windows 10.0.16299.192 install. |
Yeah, I tried installing from source, on a windows 10 vm on a mac OS host, using go1.9.2, and could not reproduce the described behaviour, either via windows CMD, or git bash. |
Sorry guys I used the same manual method : https://github.com/ipfs/go-ipfs/blob/master/docs/windows.md |
@gdeverlant it seems to me we can reasonably narrow it down to being your binary, Windows 7, or something else with (or running in) your environment. If you want to share your binary I can test it in a fresh Windows 7 VM. Or if you have some procmon showing these files being written by IPFS I'd be interested in having a look at it. |
I used the binary from @Stebalien |
Ok I will close this ticket because I found why it was happening. I was executing IPFS from the bin-debug folder because I was running my app in debug mode.
|
Version information: 0.4.13
Type: Weird behavior
Severity:
Description:
This is 4 files which are created by IPFS each time I run it.
What kind of virus is this ?
The text was updated successfully, but these errors were encountered: