[back]
Leonard Kevin McGuire Jr.

This is my collection of things that I desire to publish out there for you to read, use, or reference. I have attempted to create a simple tag system to help you navigate the content. The default view will simply list everything. I hope to improve the design of this portal to my collection of things over time. Enjoy!

    github:                 https://github.com/kmcguire3413
    email:                  kmcg3413@gmail.com
    country:                US
    preferred-languages:    rust, python, c, assembly(ARM,X86,X64_86,AVR,PIC)
    website-software:       pypagey (might publish to github one day)

PYTHON I/O DEMO SOCKETS MS-SQL-SERIES MICROSOFT SQL MERGE SELECT INSERT RUST GUIDE EASY ARM CROSS-COMPILE RUSTC SYSTEM-SOFTWARE KERNEL USER-MODE-SCHEDULING THREADS THREADING RUST-DEV LINK UBUNTU WANDBOARD EMBEDDED LINUX LOOPBACK DEVICE DISK IMAGE PROJECT RTLSDR SCANNER RADIO SOFTWARE DEFINED RADIO DSP C TOR INTERNALS POINTERS CODE LIFETIME-SPECIFIERS MS-SQL UDF TABLE RSA SSH-KEYGEN GC GARBAGE-COLLECTOR HISTORY DEBIAN GNURADIO SETUP GO CUSTOM-BOX LINKED-LIST CONDITIONAL-COMPILATION CRATES RAW-PACKET LOW-LEVEL-NET LIBRARY NETWORK DNS TCP IP UDP NIM PORT CHALLENGE FUN POLYMORPHISM COMMUNICATION CHANNELS MESSAGES ASN ASN.1 CONSOLE KSPLICE HOT-PATCH NAMED PIPE PROGRAMMING IPC


Demonstration Of Different I/O Modes On Sockets Using Python
PYTHON I/O DEMO SOCKETS

See, [https://github.com/kmcguire3413/Py3SocketsIODemo].

Python RSA Public Private Key Encryption SSH using ssh-keyen
PYTHON RSA SSH-KEYGEN CODE

This will read a public key file and a non-encrypted private key file generated by ssh-keygen and encrypt and decrypt some data. Also, of use is two functions which convert from base 256 to integer. The toi256 converts from little-endian format, and the toi256r converts from big-endian.

Python Raw Packet
PYTHON RAW-PACKET LOW-LEVEL-NET CODE LIBRARY NETWORK DNS TCP IP UDP

Been working on some a project and needed to craft raw packets in Python. As an example to generate a simple limited functionality DNS query....

ASN.1 Data Python Reading Example
ASN ASN.1 PYTHON CODE

If you are like me you have used a drag net across the internet looking for a simple understandable example of reading data in the ASN.1 format. You have likely seen and tried to read the overly complex technical specifications only to wonder why someone has to make something so complex.. I do not know the answer. The following will read basic ASN.1 data. It tries to error out when it gets to something more complex than it is designed to read such as indefinite length data and data that does not use 7-bit or 16-bit length fields. Such as an 8-bit (if possible) or larger than 16-bit. I used the following resources. I wrote this a while back and had to revisit it because I ran into a problem. I found out my code is working correctly, but here are the resources I found this recent time when searching that helped.

Python 3.x Cross Platform Console Library
PYTHON CONSOLE LIBRARY CODE PYTHON

After a bit of work I have come up with a nice light-weight cross platform console library. It currently supports Linux and Windows NT operating systems. If on Linux you must have ncurses installed and have Python compiled with support. I would love to do a version that did not use ncurses but there are some complications in doing so right now.

Linux Named Pipes
LINUX NAMED PIPE C PYTHON RUST PROGRAMMING IPC

I hope this is a good resource for named pipes on linux.