A Slack bot written in pure x86_64 Linux assembly, no C, no Rust, no libc.
A slack bot written in pure x86_64 assembly!
(These are only the currently implemented ones, see the roadmap for the full plan)
- Linux syscalls for networking (socket, connect, sendto, recvfrom).
- TLS 1.2 record layer and handshake (ClientHello → ServerHello + Cert + ServerHelloDone).
- SHA-256 and HMAC-SHA256 (all test vectors pass).
- Probably Something else, lets be honest im only reupdating this list when its convenient for me.
- The comments tell you less info than the code.
- It probably has security issues, but they are not documented anywhere, so its fine!
- The code is not actually that bad, if you squint.
Because it seemed like a good idea at the time.
Now im doing it for Stardance.
Requires:
makenasmld(GNU ld)- Linux x86_64
$ make- OS: Linux (x86_64)
- Syscall ABI:
syscallinstruction, kernel calling convention - Calling convention: System V AMD64 (for any interop, though there shouldn't be any)
Use the docker compose file..
Run run.sh script or do ./slack directly.
MIT License. See LICENSE.md for details.