Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Q: Good Developer-based calculator? (https://forum.exetools.com/showthread.php?t=18683)

Stingered 03-01-2018 10:45

Q: Good Developer-based calculator?
 
What do you use/recommend?

-THX

Fyyre 03-01-2018 11:21

Quote:

Originally Posted by Stingered (Post 112465)
What do you use/recommend?

-THX

calc.exe, in Windows.

RiRye 03-01-2018 12:16

Quote:

Originally Posted by Fyyre (Post 112468)
calc.exe, in Windows.

paired with CyberChef:

hxxps://gchq.github.io/CyberChef/

Stingered 03-01-2018 12:31

Quote:

Originally Posted by Fyyre (Post 112468)
calc.exe, in Windows.

I'll be damn, it has a programmer option (I'm embarrassed to say).

:o

chessgod101 03-01-2018 12:52

The hackman calculator from the hackman suite along side of console calculator are my favorites. One core feature I found lacking in windows calculator is the ability to convert hex to an unsigned value. I also use hpmbcalc which is now abandonware.

Code:

https://i.imgur.com/FIrhrtM.png

bilbo 03-01-2018 23:22

If you're not faint of heart, if you have Windows10, and if you want to spend half an hour of genuine amusement, I would suggest you to try CALC, not CALC for Windows, but the one for Linux! It's a command-prompt C-style calculator, with arbitrary precision, open-source, scriptable, and with a lot of functions built-in.

These are the steps to follow:

(1) Install the Linux SubSystem. Yes! Not a Virtual Machine! Look here

(2) Install the Ubuntu command-prompt from the Microsoft App Store (here)

(3) update the packages list: "apt-get update"

(4) install "links2", a command prompt oriented browser: "apt install links2"

(5) download the calc RPM: "links2 http://www.isthe.com/chongo/src/calc/calc-2.12.6.6-12.x86_64.rpm"

(6) install "alien", the new RPM manager: "apt install alien"

(7) install CALC and related libraries: "alien -i calc-2.12.6.6-12.x86_64.rpm"

(8) extend the path where the shared libraries are looked for:
Code:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64
export LD_LIBRARY_PATH
ldconfig

(9) You can finally execute CALC

At the end of all this, you will not only have CALC, but a full working Linux subsystem. You can also install the compiler, if you want... "apt install gcc"

Best regards
bilbo

atom0s 03-02-2018 02:17

If you want to use Windows 8.1's calculator on Windows 10, here is everything needed to make it run:
Code:

https://mega.nz/#!1t51zaZJ!E3d5e00W6Igrt6S-S1rf9TJQkUSbDqrXh2aTd46MXRI

yologuy 03-02-2018 07:22

https://www.sweetscape.com/010editor/manual/Calculator.htm

010 editor is very powerfull, and usefull, A must have when you try to understand some unknow data structure.

chants 03-02-2018 07:26

I suppose a seasoned developer can at least do hex addition and subtraction in the head:
It is obviously for example to see that DEAD+F00D=1CEBA. :D

As for multiplication, there is always Karatsuba's method.

In all seriousness though if doing a lot of debugging, the mental palette can sure speed things along if you can handle some simple hex computations and with enough experience most people gain some familiarity there.

Stingered 03-02-2018 08:57

Quote:

Originally Posted by chants (Post 112484)
I suppose a seasoned developer can at least do hex addition and subtraction in the head:
It is obviously for example to see that DEAD+F00D=1CEBA. :D

As for multiplication, there is always Karatsuba's method.

In all seriousness though if doing a lot of debugging, the mental palette can sure speed things along if you can handle some simple hex computations and with enough experience most people gain some familiarity there.

My norm is this site: https://www.paulschou.com/tools/xlate/

But I'm looking for something to use in a closed ENV.

bongos_man 03-03-2018 00:34

@chessgod101 (and anyone else), if you like console calculator, you might like speedcrunch--basically the same, but open source

ontryit 03-03-2018 14:09

Quote:

Originally Posted by bilbo (Post 112479)
If you're not faint of heart, if you have Windows10, and if you want to spend half an hour of genuine amusement, I would suggest you to try CALC, not CALC for Windows, but the one for Linux! It's a command-prompt C-style calculator, with arbitrary precision, open-source, scriptable, and with a lot of functions built-in.

These are the steps to follow:

(1) Install the Linux SubSystem. Yes! Not a Virtual Machine! Look here

(2) Install the Ubuntu command-prompt from the Microsoft App Store (here)

(3) update the packages list: "apt-get update"

(4) install "links2", a command prompt oriented browser: "apt install links2"

(5) download the calc RPM: "links2 http://www.isthe.com/chongo/src/calc/calc-2.12.6.6-12.x86_64.rpm"

(6) install "alien", the new RPM manager: "apt install alien"

(7) install CALC and related libraries: "alien -i calc-2.12.6.6-12.x86_64.rpm"

(8) extend the path where the shared libraries are looked for:
Code:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64
export LD_LIBRARY_PATH
ldconfig

(9) You can finally execute CALC

At the end of all this, you will not only have CALC, but a full working Linux subsystem. You can also install the compiler, if you want... "apt install gcc"

Best regards
bilbo

Wow, these was terrible way to only get CALC :D

niculaita 03-03-2018 16:02

use teamviewer to remote quick support on phone where you can install many apps
https://play.google.com/store/search?q=calculator&c=apps

Mynotos 03-04-2018 05:34

I use 010 Editor its very good for big files and many other things

dosprog 04-02-2018 17:35

1 Attachment(s)
Here is a little and very useful 32-bit calculator
32-bit ASM Calculator 1.6 (c)PCL

--Add--


And here is a specific calculator for calculate offsets in 32-bit PE-EXE file:
File Location Calculator (c)PCL

His little-modified version 1.4.0.4(+) is attached to this message (See attachement).
Added option - displays "<TaiL>" string after section name if (given address > FileOffset+VirtualSize) for this section.

Example of PE-sections table in 32-bit PE-EXE with tails in sections:

Quote:

N Name.... VirtSize...... RVA....... PhysSize.... Offset..... Flag
1 .text...... 00028874 00001000 00028A00 00000400 60500060
2 .data..... 00000084 0002A000 00000200 00028E00 C0300040
3 .rdata.... 00008970 0002B000 00008A00 00029000 40700040
4 .eh_fram 000065A8 00034000 00006600 00031A00 40300040
5 .bss...... 00010F20 0003B000 00000000 00000000 C0700080
6 .idata.... 00000A68 0004C000 00000C00 00038000 C0300040
7 .CRT...... 00000018 0004D000 00000200 00038C00 C0300040
8 .tls........ 00000020 0004E000 00000200 00038E00 C0300040
See ".text" section for example:
VirtSize =00028874h
PhisSize=00028A00h
Then:
<Tail>Size= PhisSize-VirtSize=018Ch


--Add--

For "Triming tails" of all sections in PE-section table of file
use HIEW32 HEM-Plugin PE_TAILS.HEM.





All times are GMT +8. The time now is 07:15.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX