How to read data from GPS gadget - node.js

I got unreadable characters from gps. Mby someone know format or how to make it readable. I think it is ASCII. But I dont know.
Some data here: https://www.dropbox.com/s/3f6j13mkphp6ti9/rawData.txt?dl=0
Screenshot: http://prntscr.com/4qwq54

Definitely looks like some internal encoding. You would need to know how it is created to know how to decode/decrypt it. More information would be nice.

Related

Internationalization Web Number-Symbols

do I need to use another number-symbols when I want my webpage to be accessible in other countries? According to Microsoft there are different shape of numbers: https://learn.microsoft.com/en-us/globalization/locale/number-formatting#:~:text=formatting%20for%20details.-,The%20character%20used%20as%20the%20thousands%20separator,thousands%20separator%20is%20a%20space.
I have been searching since a few days to get a clear answer but I cant find some. Also, on most international websites/apps I only ever see the digits 0,1,2,3,4,5,6,7,8,9 although the digits for the language actually look different. That unsettles me. I feel like many websites/apps just ignore this fact. Can anybody help me further? Also do I need to know how to activate foreign symbols in html?
I do not know for sure what language you are translating/typing in HTML. But here is an example of what you can use as a guide to certain scripts in Arabic: https://sites.psu.edu/symbolcodes/languages/mideast/arabic/arabicchart/
You may also need to use a converter. For example, I type Chinese on my website by typing the characters into a character to unicode converter. Then I copy and paste the unicode to my HTML text.

Scandroid steganography: "Alter the extension of a new beginning in order to READ what the others can only SEE"

So, for some quick background, one of my favorite musicians, Scandroid, put out a riddle that states "If you alter the extension of a new beginning, you can READ what others can only SEE." When you purchased the song from their label's website, you got a bonus picture. the picture was titled "Origins" (New beginning) so i had the idea to convert the .jpg file to a .txt and just see if there was a hidden message. Inside I found some unusual coding that my friend seems to think is in java language, and thinks it may be an audio file because there are some stream commands. unfortunately neither of us have the skill to separate this coding, nor do we know how to use it in the way it was intended. Below is a link to a google doc that contains the segments of the .txt file that seemed unusual to me. Please note, the segments were separated by quite some space inside the txt file. If you would like to take a look at the whole file feel free to give me your E-Mail and i will be glad to send it to you. Thanks in advance - Pat D.
https://docs.google.com/document/d/1nTTfxcrNZRtb9otybuG4VAhJRFlnAmfBnuTDE1o43UM/edit?usp=sharing
Its a pdf file. You should be able to open it with Adobe Acrobat Reader.

Decoding php code

I have recently installed a word press theme on my site. And i am trying to remove the credit links from the footer and sidebar, the code was in encrypted format. The theme is not functioning properly if i try to remove the links, I tried decoding using base 64 converters, but it does not helped me.
Can anyone expert let me know what kind of encoding is this and tell me how can i decode it.
Thanks in advance.
Here i am have pasted the code
http://pastebin.com/ZLGRN9ey
It's encoded in base64 if you look at the end of the file.
#eval(base64_decode($m));unset($m);
#eval executes the PHP. It looks like it is first decoded with the base64_decode function, though. Then, variable m is removed. If you want to see it decoded, do echo base64_decode($m). Even if you do this, though, it's likely that the code would still be rather obfuscated and unreadable. Try emailing the developer for the source.

How to detemine the file type in Linux?

If someone sends me a document (.pdf,.doc,.xls, ppt, .ogg, mp3, png, etc) without the extension, how can I determine the file type? The /usr/bin/file command doesn't always guess right or it simply says that I have a Microsoft Office document. I would like to know exactly so I can add the extension to the file name.
You can come up with your own rules by adding them to /etc/magic
man file for more details. It is tricky to always get these correct however, I have had reasonable success.
Try mimetype(1).
For Perl, look at File::MimeInfo.
Some of the other posters thus far appear to neglect a few things.
File::MimeInfo uses the same MimeInfo database used by 'file' to identify files. So That's unlikely to do anything different.
File::Type is likely to be interesting though, as it relies only on itself, but this leads to a comically long script full of 'if' statements. But this is, by its very nature, unlikely to cover things 'file' already doesn't cover.
The best you can do with unknown filetypes is try cracking them open with a hex-editor, or running them through 'strings' and seeing if you recognise anything. If you manage how to Identify a file, you may wish to go for File::Type as your solution because as far as I can make out, its at least easy to extend.
You can use the Perl module: File::Type

What is the format of /dev/input/by-path/pci-xxx-kbd output?

after doing
$ cat /dev/input/by-path/pci-0000:00:02.0-usb-0:2:1.0-event-kbd > ~/test_kbd
as root, I got a bunch of binary codes (which was expected). Now, I wanted to know how can I interpret this binary code to figure out what key has been pressed? What format is the output in? and is there a reference I could look at that would tell me what key each binary code stands for?
Thanks
I would guess that they are scan codes. This page lists the make and break codes of keys used by modern keyboards. For more information on PS/2 keyboard programming, see Adam Chapweske's resources.
This file provides keyboard events (in binary format).
Use
evtest /dev/input/by-path/pci-0000:00:02.0-usb-0:2:1.0-event-kbd
to get some information.

Resources