This file contains 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
gd |
This file contains 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
gd |
This file contains 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 | |
#editor: LeeJunHwan | |
EXPECTED_ARGS=1 | |
if [ $# == $EXPECTED_ARGS ] | |
then | |
echo "Assuming Default Locations for Prebuilt Images" | |
$0 $1 Boot_Images/MLO Boot_Images/u-boot.bin Boot_Images/uImage Boot_Images/boot.scr Filesystem/rootfs* Media_Clips START_HERE | |
exit | |
fi |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor] | |
"Autorun"="C:\\\\linked\\\\Doskey_Alias_Setting.cmd" | |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings] | |
"Present"=dword:00000001 | |
"HostName"="192.168.4.13" | |
"LogFileName"="putty.log" | |
"LogType"=dword:00000000 | |
"LogFileClash"=dword:ffffffff | |
"LogFlush"=dword:00000001 | |
"SSHLogOmitPasswords"=dword:00000001 |
This file contains 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
# 2017-03-31 | |
# include mypc_solo, EMS_integrate (x86/x64), driver version check | |
# powershell Start-Process powershell_ISE -Verb runas | |
# del alternative to remove-item -force -recurse(non-interactive option) and find file is get-childitem no write to full path | |
<# | |
(Get-ChildItem "C:\Program Files (x86)\AhnLab\APC2\" -Include AhnRghNt.sys -Recurse).VersionInfo | |
(Get-ChildItem "C:\Program Files\AhnLab\APC2\" -Include AhnRghNt.sys -Recurse).VersionInfo | |
(Get-ChildItem "C:\Program Files\Common Files\AhnLab\" -Include Atamptnt.sys -Recurse).VersionInfo | |
Amoncdw7.sys |
This file contains 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
import os | |
prgm_path = "" | |
if os.environ.get("PROGRAMFILES(X86)") is None: #this case is 32bit | |
prgm_path = os.environ.get("PROGRAMFILES") | |
else: | |
prgm_path = os.environ.get("PROGRAMFILES(X86)") | |
#print prgm_path |
This file contains 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
import urllib | |
import base64 | |
url = 'aHR0cDovL3d3dy5jaGFtcHN0dWR5LmNvbS8/cj1jaGFtcHN0dWR5Jm09bXlwYWdlJmE9ZG93biZmbmFtZT03MTI2L3dyaXRlLw==' | |
url = base64.b64decode(url) | |
for x in xrange(40): | |
dd = url + str(x) + ".pdf" | |
print(dd) | |
urllib.urlretrieve(dd, "C:\\Users\\Administrator\\Desktop\\test\\down\\" + str(x) + ".pdf") | |
This file contains 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
@echo off | |
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f | |
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f | |
reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" | |
cd %userprofile%\documents\ | |
attrib Default.rdp -s -h | |
del Default.rdp |
This file contains 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
# auto letsencrypt revoke with certbot-nginx | |
#remove | |
sudo service nginx stop | |
sudo add-apt-repository ppa:certbot/certbot -y | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get remove certbot -y | |
#sudo rm -rf letsencrypt | |
sudo apt-get remove letsencrypt -y | |
sudo apt-get purge certbot -y |
OlderNewer