Skip to content

Instantly share code, notes, and snippets.

View yellowberryHN's full-sized avatar
🖐️
i like ya cut g

Zsolt Zitting yellowberryHN

🖐️
i like ya cut g
View GitHub Profile
@HerringtonDarkholme
HerringtonDarkholme / nihongo.cpp
Last active July 23, 2024 06:25
g++ nihongo.cpp
#define エスティーディー std
#define アイオーストリーム <iostream>
#define ユージング using
#define イフ if
#define インクルード #include
#define イント int
#define シーアウト cout
#define シーイン cin
#define ネームスペース namespace
#define ブール bool
@kj800x
kj800x / Hacking the LG Monitor's EDID.md
Last active September 12, 2024 23:46
Hacking the LG Monitor's EDID

preface: Posting these online since it sounds like these notes are somewhat interesting based on a few folks I've shared with. These are semi-rough notes that I basically wrote for myself in case I ever needed to revisit this fix, so keep that in mind.

I recently bought an LG ULTRAGEAR monitor secondhand off of a coworker. I really love it and it's been great so far, but I ran into some minor issues with it in Linux. It works great on both Mac and Windows, but on Linux it displays just a black panel until I use the second monitor to go in and reduce the refresh rate down to 60 Hz.

This has worked decent so far but there's some issues:

  • It doesn't work while linux is booting up. The motherboards boot sequence is visible just fine, but as soon as control is handed over to Linux and I'd normally see a splash screen while I'm waiting for my login window, I see nothing.
  • It doesn't work on the login screen. This would be fine if login consistently worked on my second screen, but I need to manually switch
@Slluxx
Slluxx / patchNXapps.md
Last active July 22, 2024 15:56
How to patch Nintendo Switch Applications in IDA

Patching the Youtube App

In short

  1. Extract the main NSO
  2. Convert it into an ELF (to strip header/hashes)
  3. Load it into Ida, find the function and patch the bytes back into the binary
  4. Convert the ELF back into NSO
  5. Use the nso as exefs patch or re-import it into the NCA/NSP
@yellowberryHN
yellowberryHN / BBT-nocd.md
Last active November 7, 2024 06:26
Big Biz Tycoon/Venture Tycoon No-CD Patch

Instructions

Using a hex editor of your choice, edit the BBT.exe/VT.exe file, and look for the following bytes:

  • BBT.exe: FF FF FF 85 C0 6A 01 7D
  • VT.exe: FF FF FF E8 BF 9D F7 FF

Replace it with the following bytes:

  • BBT.exe: FF FF FF 85 C0 6A 01 EB
@Jed-
Jed- / README.md
Last active September 9, 2022 00:30
Sending maps outside of coop edit

Sending maps outside of coop edit

Sometimes it would be useful if a server were able to send a custom map to its clients, in modes different from coop edit. Sendmap/getmap operations are usually blocked in such modes, both server-side and client-side. However, most other map editing messages are allowed (clients cannot send them, but they can receive and parse them). Here, I will provide a method for sending custom maps using a sequence of allowed messages.

We are going to build a modded client capable of exporting a map into a custom file format, which the server will then read and use to send data to its clients. ogz files cannot be sent directly.

Notes

--[[----------------------------------------------------------------------------
MessagePack encoder / decoder written in pure Lua 5.3
written by Sebastian Steinhauer <[email protected]>
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active November 19, 2024 12:13
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@bgulla
bgulla / honeypot_counts.txt
Last active February 16, 2024 17:31
Passwords attempted over a 5-day period on a PORT 22 ssh honeypot.
204 password
193 123456
144 admin
125 support
116 123
114 1234
105 default
99 12345
97 1
84 ubnt

Type Asset:

  {
    "id": 123123123123,
    "name": "asset_key",
    "type": 1
  }
  • ID: The ID of the asset