summaryrefslogtreecommitdiff
path: root/md/writeup
diff options
context:
space:
mode:
Diffstat (limited to 'md/writeup')
-rw-r--r--md/writeup/datamatch.md85
-rw-r--r--md/writeup/h64e.md41
-rw-r--r--md/writeup/kconf2h.md69
-rw-r--r--md/writeup/radiola.md40
4 files changed, 235 insertions, 0 deletions
diff --git a/md/writeup/datamatch.md b/md/writeup/datamatch.md
new file mode 100644
index 0000000..d538296
--- /dev/null
+++ b/md/writeup/datamatch.md
@@ -0,0 +1,85 @@
+# DM - data match mini data language
+
+mini language to match some data in files it could be just binary file or
+it could be some bookmarks and when data is found script output some info
+about that
+
+## Examples
+
+### Print about position in file
+
+Here how looks scripts to bookmark some position
+```
+0x01 "byte one"
+0x02 "byte two"
+```
+This could be used to bookmark stuff in files
+
+### Check bytes in position
+
+Here is example where output will tell if its 32/64bit file and with kind of
+file type it is relocatable/executable/shared/core elf.
+
+```
+0x0-0x3
+ "magic number"
+0x4
+ if (0x01) "32 bit elf"
+ if (0x02) "64 bit elf"
+0x5
+ if (0x01) "little endian"
+ if (0x02) "big endian"
+0x10
+ if (0x1) "relocatable ELF"
+ if (0x2) "executable ELF"
+ if (0x3) "shared ELF"
+ if (0x4) "Core ELF what that"
+
+```
+
+## Compiling
+
+just make should work
+
+```
+make
+```
+
+if not then probably you dont have ragel just remove it from makefile and it
+should work fine as ragel generated *.c file is allready included
+
+## Source
+
+```
+git clone http://git.main.lv/cgit.cgi/dm.git
+```
+
+or
+
+```
+git clone https://github.com/FreeArtMan/dm.git
+```
+
+main development site is http://main.lv and main git repo is http://git.main.lv
+
+## Tested
+
+| OS | Arch |
+|---|---|
+| Linux | 32/64bit intel |
+| NetBSD | 32bit intel |
+
+## Future
+
+Future features will be added if there will practical demand for them if there
+will be some moment when they will be really needed.
+
+Could be added
+* support for if's in the row
+* add binary masks
+* generation of csv table
+* genrate c struct to embed in programms
+* genrate other languages (lua/python/sh)
+* work with pipe could cat some /dev/random or so
+* support streamed data
+* support comments \ No newline at end of file
diff --git a/md/writeup/h64e.md b/md/writeup/h64e.md
new file mode 100644
index 0000000..4c56a1d
--- /dev/null
+++ b/md/writeup/h64e.md
@@ -0,0 +1,41 @@
+# h64d - hexdump analog
+
+small hexdumpl like tool currently supports:
+
+```text
+./h64d: invalid option -- '-'
+Usage: ./h64d [OPTS] <filename>
+
+ -a - asciimode
+ -b - show offset adress
+ -o - file offset
+ -i - output hex
+ -l - length of output
+
+Version: 0.1beta
+```
+
+more stuff will be added if there will be some nice use cases.
+
+## Tested
+
+| OS | Arch |
+|---|---|
+| Linux | 32/64bit intel |
+| NetBSD | 32bit intel |
+
+## Source
+
+```
+git clone http://git.main.lv/cgit.cgi/h64.git
+```
+
+## Compile
+
+just
+
+```
+make
+```
+
+should be enought \ No newline at end of file
diff --git a/md/writeup/kconf2h.md b/md/writeup/kconf2h.md
new file mode 100644
index 0000000..41f573d
--- /dev/null
+++ b/md/writeup/kconf2h.md
@@ -0,0 +1,69 @@
+# kconf2h - kernel config transltion to C headers
+
+Kernel menuconfig is cool way how to configure files and enable/disable some
+flag/constants inside source here is small tool that converts files like
+
+```text
+CONFIG_CORE=y
+CONFIG_OS_LINUX=y
+# CONFIG_OS_NETBSD is not set
+# CONFIG_FUTURE is not set
+CONFIG_DRAW=y
+CONFIG_GL=y
+CONFIG_SDL2=y
+CONFIG_TUI=y
+CONFIG_HW=y
+CONFIG_HW_LIB_ORIG=y
+# CONFIG_HW_LIB_R820T is not set
+CONFIG_HW_ALSA=y
+# CONFIG_HW_NO_AUDIO is not set
+CONFIG_MOD=y
+CONFIG_MOD_FM_DEMOD=y
+# CONFIG_PROTO is not set
+```
+
+to just c headers
+
+```text
+#define CONFIG_CORE
+#define CONFIG_OS_LINUX
+#define CONFIG_DRAW
+#define CONFIG_GL
+#define CONFIG_SDL2
+#define CONFIG_TUI
+#define CONFIG_HW
+#define CONFIG_HW_LIB_ORIG
+#define CONFIG_HW_ALSA
+#define CONFIG_MOD
+#define CONFIG_MOD_FM_DEMOD
+```
+
+doesnt support anything else except yes/no
+
+## Tested
+
+| OS | Arch |
+|---|---|
+| Linux | 32/64bit intel |
+
+## Source
+
+```
+git clone http://git.main.lv/cgit.cgi/kconfig2h.git
+```
+
+or
+
+```
+git clone https://github.com/FreeArtMan/kconfig2h.git
+```
+
+## Compile
+
+just
+
+```
+make
+```
+
+should be enought \ No newline at end of file
diff --git a/md/writeup/radiola.md b/md/writeup/radiola.md
new file mode 100644
index 0000000..f59b6e2
--- /dev/null
+++ b/md/writeup/radiola.md
@@ -0,0 +1,40 @@
+# Radiola - rtlsdr expermintal SDR
+
+Experimental rtlsdr software to play with small and nifty tv-tuner dongle.
+
+Now implemetend SDL2 waterfall diagramm, terminal waterfall diagramm also
+is possible to demodulate wbfm and listen to radio stations.
+
+
+## Tested
+
+| OS | Arch |
+|---|---|
+| Linux | 32/64bit intel |
+| NetBSD | 32bit intel |
+
+## Source
+
+```
+git clone http://git.main.lv/cgit.cgi/radiola.git
+```
+
+or
+
+```
+https://github.com/FreeArtMan/radiola.git
+```
+
+## Compile
+
+For Linux should work out of the box with NetBSD needed some small tweaks.
+
+```
+make
+```
+
+for NetBSD (or any other *BSD, MacOS could work as well) just try
+
+```
+make bsd
+``` \ No newline at end of file