jreisinger / checkip

Get (security) info about IP addresses
MIT License
230 stars 24 forks source link

Doesn't work properly on Windows #31

Closed BitesizedLion closed 2 years ago

BitesizedLion commented 2 years ago

The windows build doesn't function properly.

It tries using unix paths:

checkip.exe: IPSum: searching 1.1.1.1 in /var/tmp/ipsum.txt: open /var/tmp/ipsum.txt: The system cannot find the path specified.

checkip.exe: DBip: can't load DB file /var/tmp/dbip-city-lite.mmdb: open /var/tmp/dbip-city-lite.mmdb: The system cannot find the path specified.

checkip.exe: IPtoASN: searching 1.1.1.1 in /var/tmp/ip2asn-combined.tsv: open /var/tmp/ip2asn-combined.tsv: The system cannot find the path specified.

checkip.exe: CinsScore: searching 1.1.1.1 in /var/tmp/cins.txt: open /var/tmp/cins.txt: The system cannot find the path specified.

checkip.exe: MaxMind: open /var/tmp/GeoLite2-City.mmdb: The system cannot find the path specified.
jreisinger commented 2 years ago

Thanks @BitesizedLion. Yes, I don't really have access to a Windows machine. Let me think about this ...

jreisinger commented 2 years ago

@BitesizedLion can you try now please?

BitesizedLion commented 2 years ago

@BitesizedLion can you try now please?

Yep, works as expected now.