Swiss File Knife
a command line
free external tools,
- download the free Swiss File Knife Base from Sourceforge. - open the Windows CMD command line, Mac OS X Terminal or Linux shell. - OS X : type mv sfk-mac-i686.exe sfk and chmod +x sfk then ./sfk - Linux: type mv sfk-linux.exe sfk and chmod +x sfk then ./sfk OS X and Linux syntax may differ, check the help within the tool.
sfk num[bers] [options] n1 [0xn2 0bn3 ...] print associated numbers in all kinds of formats, like decimal, hexadecimal, binary and ASCII chars and in little endian format. accepted parameter formats 1234 a decimal number 0x1234 a hexadecimal number 0b1101 a binary number 192.168.1.10 four decimal numbers joined as one 32 bit value 0b1101.0110 two binary numbers joined as one value fe237801 hex number (auto detected) 0tfe23 4 ASCII chars "fe23" options -hex all given numbers are hexadecimal -nocol print without colors -single don't show little endian format -show x print just a single format of: dec hex ip bin decle hexle iple binle -small convert little endian for numbers below 65536 as 16 bits. default is to convert all as 32 bits. see also sfk hex convert decimal to hex sfk dec convert hexadecimal to decimal web reference http://stahlworks.com/sfk-number examples sfk num 0x48454C4F prints all representations of hex value 0x48454C4F sfk num -show hexle 317705643 prints ABCDEF12, the little endian hex value
sfk is a free open-source tool, running instantly without installation efforts. no DLL's,
no registry changes - just get sfk.exe from the zip package and use it (binaries for
windows, linux and mac are included).
read more about all sfk functions here.