Skip to content

Commit 29c7d49

Browse files
committed
added post about hex conversion
1 parent 197881f commit 29c7d49

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

_posts/2023-02-03-hex-conversion.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: post
3+
title: Quick Hex Conversion
4+
date: 2023-02-03
5+
categories: [packets]
6+
tags: [hex]
7+
---
8+
9+
Usually if I don't feel like converting a hexadecimal number by hand, I fire up some online calculator. But I learned this while watching [Packet Tuesdays with Dr. Johannes Ullrich](https://www.youtube.com/watch?v=p0lO874DwNM&list=PLs4eo9Tja8biVteSW4a3GHY8qi0t1lFLL&index=3).
10+
11+
Fire up the python REPL:
12+
13+
```python
14+
int('1000', base=16)
15+
4096
16+
```
17+
18+
Its the simple things that get you! And I code for living! :) Thanks Dr. Johannes Ullrich

0 commit comments

Comments
 (0)