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
Recommended to use with Scripting plugin -> Event Notification -> Tick (logon & logoff) | |
cmd.exe /c net user "%u" "%p" >> %PUBLIC%\reset_log.txt |
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
#include <iostream> | |
#include <string> | |
#include <Windows.h> | |
#include <winhttp.h> | |
#pragma comment(lib, "winhttp.lib") | |
int main() { | |
DWORD 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
bool IsWindows81orHigher() { | |
NTSTATUS(WINAPI * RtlGetVersion)(LPOSVERSIONINFOEXW); | |
OSVERSIONINFOEXW osInfo; | |
*(FARPROC*)&RtlGetVersion = GetProcAddress(GetModuleHandleA("ntdll"), "RtlGetVersion"); | |
if (NULL != RtlGetVersion) | |
{ | |
osInfo.dwOSVersionInfoSize = sizeof(osInfo); | |
RtlGetVersion(&osInfo); |
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
1. Download your OldNewExplorer 1.1.9. If you already install, uninstall the extension again. | |
2. Download Resource Hacker. | |
3. Run Resource Hacker, and open OldNewExplorer64.dll. | |
4. Expand STYLE_FLAT or STYLE_CREAMY (your choice), then select 1:1033. | |
5. Ctrl+F to open Find window, and search for FolderBandStyle. You'll find something like this "<style resid="FolderBandStyle">" | |
6. Then, below that line, enter this text: <Element padding="rect(0rp,0rp,0rp,-44rp)"/> | |
7. Repeat step 5-6 by finding this keyword: CPLFolderBandStyle | |
8. Click Compile Script (play icon) or press F5. | |
9. Save the dll using same name (overwrite). | |
10. Repeat step 3-9 by opening OldNewExplorer32.dll |
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
public static class StringCompressionExtension | |
{ | |
/// <summary> | |
/// Compresses the string to bytes array. | |
/// </summary> | |
/// <param name="text">The text.</param> | |
/// <returns></returns> | |
public static byte[] Compress(this string text) | |
{ | |
byte[] buffer = Encoding.UTF8.GetBytes(text); |
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
<?xml version="1.0"?> | |
<DslCpeConfig> | |
<InternetGatewayDevice> | |
<DeviceSummary val="InternetGatewayDevice:1.1[](Baseline:1, EthernetLAN:1)" /> | |
<LANDeviceNumberOfEntries val=2 /> | |
<WANDeviceNumberOfEntries val=3 /> | |
<DeviceInfo> | |
<ManufacturerOUI val=F8D111 /> | |
<SerialNumber val=0000000000000 /> | |
<HardwareVersion val="Archer C5v v1 00000000" /> |
OlderNewer