Here are my steps.
At first, I took a look to RK30xxLoader(L)_V1.18.bin. This file appears in update.img for my device. So, I unpacked update.img using rk29Kitchen.
strings on that file returns nothing interesting, so I assumed the file is crypted
| 2003-01-13 pyvm2.py: https://mail.python.org/pipermail/pypy-dev/2003-January/000048.html | |
| 2013-01-13 - 2016 byterun: https://github.com/nedbat/byterun - A Python implementation of a Python bytecode runner. | |
| Based on pyvm2.py | |
| * https://nedbatchelder.com/blog/201301/byterun_and_making_cells.html | |
| http://www.aosabook.org/en/500L/a-python-interpreter-written-in-python.html | |
| https://www.slideshare.net/akaptur/byterun-a-python-bytecode-interpreter-at-nycpython | |
| https://www.synopsys.com/blogs/software-security/understanding-python-bytecode/ |
| https://13brane.net/rants/de-facto-closed-source/ |
| diff --git a/include/net/yaip/net_ip.h b/include/net/yaip/net_ip.h | |
| index e131d0b..bc98888 100644 | |
| --- a/include/net/yaip/net_ip.h | |
| +++ b/include/net/yaip/net_ip.h | |
| @@ -265,7 +265,10 @@ struct net_udp_hdr { | |
| struct net_tcp_hdr { | |
| uint16_t src_port; | |
| uint16_t dst_port; | |
| + union { | |
| uint8_t seq[4]; |
| #include <string.h> | |
| #include <sys/socket.h> | |
| #include <sys/types.h> | |
| #include <netinet/in.h> | |
| #include "nlr.h" | |
| #include "misc.h" | |
| #include "mpconfig.h" | |
| #include "mpqstr.h" | |
| #include "obj.h" |
| #!/bin/sh | |
| set -xe | |
| function prepare_mongoose_mit () { | |
| git clone https://github.com/cesanta/mongoose | |
| cd mongoose | |
| # Civetweb started from this rev. There're couple more MIT-licensed | |
| # commits in upstream repo | |
| git reset --hard a0b43ae8e0a09d8ac3f7932de19f66b2677dafd2 | |
| git gc | |
| cd .. |
| #!/bin/sh | |
| set -xe | |
| # Anti-GPL paranoid delight: make it possible to swear on bible that | |
| # no GPL commit ever entered civetweb repo | |
| function prepare_mongoose_mit () { | |
| git clone https://github.com/cesanta/mongoose | |
| cd mongoose | |
| # Civetweb started from this rev. There're couple more MIT-licensed | |
| # commits in upstream repo | |
| git reset --hard a0b43ae8e0a09d8ac3f7932de19f66b2677dafd2 |