Skip to content

Instantly share code, notes, and snippets.

View sud0why's full-sized avatar
🎯
Focusing

susu sud0why

🎯
Focusing
View GitHub Profile
@sud0why
sud0why / CVE-2024-40120.md
Last active May 13, 2025 02:42
CVE-2024-40120

CVE-2024-40120

Summmary

SeaweedFS versions prior to 3.69 contain an SQL injection vulnerability (CWE-89) that allows attackers to execute arbitrary database operations by manipulating the bucket name parameter.

Affect Version

SeaweedFS < 3.69

@sud0why
sud0why / gdb-cheatsheet.md
Created May 28, 2019 04:08 — forked from jez/gdb-cheatsheet.md
GDB Cheatsheet from CS:APP Website, reformatted
@sud0why
sud0why / guide-to-x86_64.txt
Created May 28, 2019 04:07 — forked from jrelo/guide-to-x86_64.txt
x86_64 assembly guide
x86-64 (also known as just x64 and/or AMD64) is the 64-bit version of the x86/IA32 instruction set. Below is our overview of its features that are relevant to CS107. There is more extensive coverage on these topics in Chapter 3 of the B&O textbook. See also our x86-64 sheet for a compact one-page reference.
Registers
The table below lists the commonly used registers (sixteen general-purpose plus two special). Each register is 64 bits wide; the lower 32-, 16- and 8-bit portions are selectable by a pseudo-register name. Some registers are designated for a certain purpose, such as %rsp being used as the stack pointer or %rax for the return value from a function. Other registers are all-purpose, but have a conventional use depending on whether caller-saved or callee-saved. If the function binky calls winky, we refer to binky as the caller and winky as the callee. For example, the registers used for the first 6 arguments and return value are all caller-saved. The callee can freely use those registers, overwriting
@sud0why
sud0why / embedded-file-viewer.md
Created May 28, 2019 04:05 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links