lscpu | grep -i VirtualizationVT-xfor IntelAMD-Vifor AMD
| diff --git a/drivers/gpu/drm/i915/display/intel_backlight.c b/drivers/gpu/drm/i915/display/intel_backlight.c | |
| index 071668bfe5d1..835aac02ee13 100644 | |
| --- a/drivers/gpu/drm/i915/display/intel_backlight.c | |
| +++ b/drivers/gpu/drm/i915/display/intel_backlight.c | |
| @@ -1465,7 +1465,7 @@ static bool cnp_backlight_controller_is_valid(struct drm_i915_private *i915, int | |
| if (controller == 1 && | |
| INTEL_PCH_TYPE(i915) >= PCH_ICP && | |
| - INTEL_PCH_TYPE(i915) <= PCH_ADP) | |
| + INTEL_PCH_TYPE(i915) < PCH_MTP) |
| #include <windows.h> | |
| #include <string> | |
| #include <vector> | |
| #include <algorithm> | |
| // White Knight Labs - Offensive Development Course | |
| // DLL Guardrails Example | |
| // This function extracts the file name from a given path | |
| // It is used later to determine the executable name loading the DLL. |
| import socket | |
| import select | |
| from logzero import logger | |
| # python forwarder.py localhost:1337 ipinfo.io:80 | |
| # curl -v http://localhost.com:1337 -H "Host: ipinfo.io" | |
| # video: https://www.youtube.com/watch?v=32KKwgF67Ho | |
| class Forwarder: |
| <# | |
| DynWin32-ReverseShell.ps1 is a reverse shell based on dynamically looked up Win32 API calls. | |
| The script uses reflection to obtain access to GetModuleHandle, GetProcAddress and CreateProcess. | |
| Afterwards it uses GetModuleHandle and GetProcAddress to resolve the required WSA functions | |
| from ws2_32.dll. | |
| This script should be used for educational purposes only (and maybe while playing CTF :D). | |
| It was only tested on Windows 10 (x64) and is probably not stable or portable. It's only | |
| purpose is to demonstrate the usage of reflective lookups of Win32 API calls. See it as |
Obtained binaries from Discord server. The download link: https://drive.google.com/file/d/1xPP9R2VKmJ9jwNY_1xf1sVVHlxZIsLcg
Basic information about binaries. There are two main versions of the program in question:
aimful-kucoin.exe and aimful-binance.exe. They are both Windows executables. From the FAQ section of the discord server, the following information is available:
In what language was this bot written?
- Python.
For this year's Google CTF, I prepared a challenge that is based on a real-world vulnerability. The challenge wasn't solved by any team during the competition so here is the proof that the challenge was in fact solvable! :)
The goal of the challenge was to send a malicious file to the admin and leak their file with a flag. The ID of the file was embedded into the challenge description (/file?id=133711377731) and only admin had access to it, because the file was private.
Disclamer: The write-up is written on airplane therefore the quality of it is poor, mostly to showcase the required steps to solve the challenge
TLDR: JWTs should not be used for keeping your user logged in. They are not designed for this purpose, they are not secure, and there is a much better tool which is designed for it: regular cookie sessions.
If you've got a bit of time to watch a presentation on it, I highly recommend this talk: https://www.youtube.com/watch?v=pYeekwv3vC4 (Note that other topics are largely skimmed over, such as CSRF protection. You should learn about other topics from other sources. Also note that "valid" usecases for JWTs at the end of the video can also be easily handled by other, better, and more secure tools. Specifically, PASETO.)
A related topic: Don't use localStorage (or sessionStorage) for authentication credentials, including JWT tokens: https://www.rdegges.com/2018/please-stop-using-local-storage/
The reason to avoid JWTs comes down to a couple different points:
| .message-content {font-size: 120%} | |
| .message-content {color: black;} | |
| .message-content {font-family: "Segoe UI", Georgia, Serif;} | |
| .message-content {line-height: 1.5;} | |
| .user-name {font: bold 16px/30px Georgia, serif;} |