This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > How to use c++20 modules with CMake? | |
| https://stackoverflow.com/a/62499857/11782802 | |
| > How to compile/use header unit modules under CLang C++? | |
| https://stackoverflow.com/a/67254709/11782802 | |
| > Modules in Clang 11 | |
| https://mariusbancila.ro/blog/2020/05/15/modules-in-clang-11/ | |
| > Using C++ Modules TS with standard headers on linux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A Ghidra script to chainload another Script bundled in an OSGI module | |
| * Scripts must be placed in the /scripts package inside the bundle | |
| * | |
| * Written by Stefano Moioli <smxdev4@gmail.com> | |
| */ | |
| import generic.stl.Pair; | |
| import ghidra.app.script.GhidraScript; | |
| import ghidra.app.tablechooser.AddressableRowObject; | |
| import ghidra.app.tablechooser.StringColumnDisplay; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| taskId="$1" | |
| echo "{\"type\":\"logs\",\"taskId\":${taskId},\"command\":\"build\"}" \ | |
| | websocat -n "wss://api.cirrus-ci.com/ws" \ | |
| | php -R 'echo json_decode($argn)->data;' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build_php_embed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CVE-2021-4034 (pkexec) self contained exploit PoC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| cleanup(){ | |
| if [ ! -z $rtpsrv ]; then kill $rtpsrv; fi | |
| } | |
| trap cleanup INT TERM | |
| gst-launch-1.0 -v \ | |
| wasapisrc device="\{0.0.1.00000000\}.\{3b0ac205-7d2e-4c39-82b6-fde906d514bb\}" \ | |
| ! audioconvert \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Copyright (C) 2021 Stefano Moioli <smxdev4@gmail.com> | |
| * This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. | |
| * | |
| * Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: | |
| * | |
| * 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. | |
| * 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. | |
| * 3. This notice may not be removed or altered from any source distribution. | |
| **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Custom ldd that also dlopens | |
| * supporting LD_LIBRARY_PATH, basically acts as "dlopen() with dependencies" | |
| * without modifying the current process LD_LIBRARY_PATH | |
| * | |
| * Stefano Moioli <smxdev4@gmail.com>, 2021 | |
| **/ | |
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test arm features |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __DistroRid: linux-armel | |
| __RuntimeId: linux-armel | |
| Downloading 'https://dot.net/v1/dotnet-install.sh' | |
| Trying to run 'curl https://dot.net/v1/dotnet-install.sh -sSL --retry 10 --create-dirs -o /mnt/ExtData/cross/dotnet/runtime/.dotnet/dotnet-install.sh' for maximum of 5 attempts. | |
| Ran 'curl https://dot.net/v1/dotnet-install.sh -sSL --retry 10 --create-dirs -o /mnt/ExtData/cross/dotnet/runtime/.dotnet/dotnet-install.sh' successfully. | |
| dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where: | |
| dotnet-install: - The SDK needs to be installed without user interaction and without admin rights. | |
| dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs. | |
| dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer. |