LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unreadable output from xprobe2 on Ubuntu/Kali (https://www.linuxquestions.org/questions/linux-newbie-8/unreadable-output-from-xprobe2-on-ubuntu-kali-4175630429/)

otrivedi 05-24-2018 11:32 PM

Unreadable output from xprobe2 on Ubuntu/Kali
 
Hi guys,

I am pursuing my Master's thesis related to cybersecurity. It involves OS fingerprinting and hence I am trying to use xprobe2.

I have tried running xprobe2 on an Ubuntu VM and Kali Linux VM as well. On Ubuntu, I just get a blank after the "Running OS:" and on Kali Linux, I get a gibberish text. You can look at screenshots here: https://drive.google.com/file/d/1364...ew?usp=sharing
https://drive.google.com/file/d/1rXG...ew?usp=sharing

I found one suggestion here (https://www.thehackr.com/os-fingerprinting-kali/):
Code:

sudo apt --reinstall install fonts-cantarell
But the problem persists.

I have not been able to find any other solution for this on the internet. So, I was hoping if anyone here came across this problem and may know the solution. Please, it will help me a lot!

syg00 05-25-2018 03:28 AM

Not much point posting screenshots if people can't see them. Even tho' I have a google login (not everyone does), I needed permission.
Quick way to piss off potential help.

hydrurga 05-25-2018 08:50 AM

syg00 is correct. @OP: Please post your screenshots in a way that we can see them.

otrivedi 05-25-2018 09:04 AM

2 Attachment(s)
Sorry, I fixed the sharing permissions. You can see the screenshots now. Also, attaching the same screenshots in this thread.

hydrurga 05-25-2018 09:26 AM

Thanks. Does verbose mode (-v) provide any more information that could help pinpoint the reason for the issue?

Do you know which operating system is actually running on the system in question?

otrivedi 05-25-2018 10:29 AM

1 Attachment(s)
No, -v verbose option provides the same output as before. Attached screenshot.

And I don't know the actual operating system running on the target.

hydrurga 05-25-2018 10:41 AM

Can you confirm that you have the relevant fonts package installed with:

Code:

sudo apt-cache policy fonts-cantarell

otrivedi 05-25-2018 11:04 AM

Yes, I believe they are installed.

Code:

ohmtrivedi@ohmtrivedi-VirtualBox:~$ sudo apt-cache policy fonts-cantarell
[sudo] password for ohmtrivedi:
fonts-cantarell:
  Installed: 0.0.24-1~ubuntu16.04.0
  Candidate: 0.0.24-1~ubuntu16.04.0
  Version table:
 *** 0.0.24-1~ubuntu16.04.0 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
        100 /var/lib/dpkg/status
    0.0.21-1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages


hydrurga 05-25-2018 11:11 AM

Thanks. Where did you get your copy of xprobe2 from for your Ubuntu box?

I'll see if I can replicate the problem in Mint.

otrivedi 05-25-2018 11:13 AM

Thanks a lot, I appreciate your help!

https://sourceforge.net/projects/xprobe/

hydrurga 05-25-2018 11:33 AM

Well, I downloaded it, but I'm afraid that I get an error during the configuration stage and am thus unable to run it.

I'm not sure it has been actively developed in quite a while. However, in saying that, have you tried to contact any of the three authors?

otrivedi 05-25-2018 11:36 AM

Oh yes, you can solve that issue by referring to this link: https://forums.opensuse.org/showthre...-xprobe2-0-2-1

And yes, I have tried to contact the authors, but no response yet.

hydrurga 05-25-2018 11:49 AM

Quote:

Originally Posted by otrivedi (Post 5859176)
Oh yes, you can solve that issue by referring to this link: https://forums.opensuse.org/showthre...-xprobe2-0-2-1

And yes, I have tried to contact the authors, but no response yet.

That thread deals with resolving make errors. I can't even get the configure stage to work.

You'll have to get someone else with Kali or Ubuntu to try and replicate the issue, I imagine.

otrivedi 05-25-2018 11:56 AM

Ok, thanks, I appreciate your time and effort!

cdhall 01-11-2019 10:34 AM

Did you ever resolve this issue? I am seeing the same with xprobe 0.3-4

Thanks

otrivedi 01-18-2019 10:26 AM

No, I tried to get support from different forums. But didn't get any solution.

dschwen 03-22-2021 04:55 PM

Fix for the garbled output
 
A fix is available here: https://github.com/binarytrails/xprobe2/pull/2

The issue was that a pointer to the char data of a temporary string was returned past the lifetime of the string. This was never correct, but probably just resulted in breakage with more recent compilers.


All times are GMT -5. The time now is 12:33 AM.