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
| /* for Devpkey */ | |
| #define INITGUID | |
| /* dependencies */ | |
| #pragma comment (lib, "SetupAPI") | |
| #include <windows.h> | |
| #include <SetupAPI.h> | |
| #include <Devpkey.h> | |
| VOID SetDeviceState(LPCWSTR lpszHardwareId, DWORD dwState) |
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
| /* dependencies */ | |
| #pragma comment(lib, "dxva2") | |
| #pragma comment(lib, "user32") | |
| #include <lowlevelmonitorconfigurationapi.h> | |
| typedef struct _MONITORPOWERPARAM | |
| { | |
| LPCWSTR szPhysicalMonitorDescription; | |
| BOOL bPowerOn; | |
| } MONITOR_POWER_PARAM, *PMONITOR_POWER_PARAM; |
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
| #!/usr/bin/env bash | |
| LOGINUSER="$(who am i | awk '{print $1}')" | |
| HOMEDIR="$(getent passwd $LOGINUSER | cut -d: -f6)" | |
| OTPKEY="$HOMEDIR/.otpkeys" | |
| RCX=0 | |
| echo | |
| if [ -f "$OTPKEY" ] | |
| then | |
| while read -r services; do |
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
| using System.Windows.Automation; | |
| // WINDOWS CREDENTIAL UI AUTOMATION by 3735943886 | |
| /* | |
| Credential Dialog Xaml Host | |
| - TextBlock / WindowLogo / | |
| - TextBlock / / Windows 보안 | |
| - Button / CloseButton / 닫기 | |
| - ScrollViewer / / |
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
| #!/usr/bin/python3 | |
| import requests | |
| import json | |
| class aptner: | |
| urlbase = 'https://v2.aptner.com' | |
| headers = { 'Content-Type': 'application/json' } | |
| token = None | |
| id = None |
OlderNewer