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 <Windows.h> | |
#include <wtsapi32.h> | |
#include <userenv.h> | |
#include <aclapi.h> | |
#include <stdio.h> | |
#include <sddl.h> | |
#pragma comment(lib, "Userenv.lib") | |
#pragma comment(lib, "wtsapi32.lib") |
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
// Decoded by Sanguine Security <[email protected]> | |
String.prototype.hexEncode = function() { | |
var a, b; | |
var output = ''; | |
for (b = 0; b < this.length; b++) { | |
a = this.charCodeAt(b).toString(16); | |
output += ('000' + a).slice(-4) | |
}; | |
return output | |
}; |
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
SET B2CMD=b2 sync --threads 20 --compareVersions "size" | |
SET B2BUCKET=2tb-disk | |
b2 list-unfinished-large-files %B2BUCKET% | |
REM b2 cancel-all-unfinished-large-files 2tb-disk | |
echo Start encrypted | |
%B2CMD% E:\encrypted b2://%B2BUCKET%/encrypted | |
echo Start WindowsImageBackup |
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
function Disable-ieESC { | |
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}" | |
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}" | |
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0 | |
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0 | |
Stop-Process -Name Explorer | |
Write-Host "IE Enhanced Security Configuration (ESC) has been disabled." -ForegroundColor Green | |
} | |
Disable-ieESC |
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
git filter-branch -f --tree-filter "mkdir Citadel.Core.Windows && ls | grep -v Citadel.Core | xargs -d '\n' mv -t Citadel.Core.Windows" HEAD | |
git filter-branch -f --tree-filter "if [ -f '.gitignore' ]; then mv '.gitignore' 'Citadel.Core.Windows/.gitignore'; fi" HEAD | |
git filter-branch -f --tree-filter "if [ -f '.travis.yml' ]; then mv '.travis.yml' 'Citadel.Core.Windows/.travis.yml'; fi" HEAD |
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
set /p path=Enter folder path (C:\Path\to\Folder or G:) | |
REM Make me owner: | |
takeown /D Y /f "%path%" /r | |
REM Make sure i have permission and remove all deny | |
icacls "%path%\*.*" /reset /T | |
REM Remove system (-S) and hiddden (-H) from all files | |
attrib /S /D /L -H -S "%path%\*.*" | |
pause |
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
MJPEG (Video only without sound): | |
http://<user>:<B64 Pass>@10.0.0.11:8080/stream/video/mjpeg | |
WAV (sound only): | |
http://admin:YWRtaW4=@MYIP:8080/stream/audio/wavpcm | |
JPEG Snapshot (slower interval than MJPEG): | |
http://10.0.0.11:8080/stream/snapshot.jpg |
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.Runtime.Serialization; | |
using System.Runtime.Serialization.Json; | |
namespace Test { | |
[DataContract] | |
public class JsonStructureExample | |
{ | |
[DataMember] | |
public int id; | |
} |
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
הגדרות | |
go home | |
```sql | |
Yoni | |
``` |
NewerOlder