[오토핫키] 압축 및 압축해제 / Zip to File , File to Zip
·
오토핫키
#NoEnvSetWorkingDir, %A_ScriptDir% ;SmartZip("test.zip", "dir2") ; Unpack a number of ZIP files to dir2; Support flexible form of parametersSmartZip("dir2", "testdir.zip") ; Pack the whole folder to ZIP file;~ SmartZip("*.ahk", "scripts.zip") ; Pack ahk scripts of the working dir;~ SmartZip("*.zip", "package.zip") ; Pack a number of ZIP files to one;~ SmartZip("*.zip", "dir2") ; Unpack..
[Sophos] Web GUI 접근 안될 때
·
Sophos
SSH 혹은 Console 접근. 5. Device Management -> 3.Advanced Shell service tomcat:restart -ds nosync 입력 200 OK 나오면 정상적으로 restart 되는 것.
[Juniper] ScreenOS Factory Reset 방법
·
Juniper
* 콘솔로 로그인해서 시리얼 넘버를 알고 있는 경우 * Command get system | i serial * Output ssg5-serial-wlan-> get system | i serial Product Name: SSG5-Serial-WLAN Serial Number: 000000000000000, Control Number: 00000000 Interface serial0/0: description serial0/0 login: 000000000000000 password: 000000000000000 !!! Lost Password Reset !!! You have initiated a command to reset the device to factory defaults, clearing ..
[오토핫키] 픽셀 값 DB처럼 저장하기
·
오토핫키
/*F2를 누르면 마우스에 위치해 있던 좌표에 기반해 픽셀 값을 따냄. 따낸 픽셀 값은 툴팁으로 뜬다. 그 상태에서 F3을 누르면 db.txt에 저장한다. 다만 중복될시 저장안하고 중복이 되지 않는다면 저장을 한다. 픽셀값을 계속 여러개 저장해야돼서 사용하기 위해 만들었습니다. */ #SingleInstance ForceF2:: {MouseGetPos, xPos, yPosPixelGetColor, Pcolor, %xPos%, %yPos%;ClipBoard := PixelSearch, xPos2, yPos2, 0,0, A_ScreenWidth, A_ScreenHeight, %Pcolor%, 5, FastToolTip 색값 : %Pcolor%} return F3::if Pcolor= Falsereload I..
[오토핫키] 네이버 요일 웹툰 제목과 매칭되는 클래스ID 파싱
·
오토핫키
URL:="https://comic.naver.com/webtoon/weekday.nhn" winHttp := ComObjCreate("WinHttp.WinHttpRequest.5.1") winHttp.Open("GET",URL) ;winHttp.Send("") winHttp.WaitForResponse( ) ; a:=winHttp.ResponseText ;msgbox, %a%;clipboard:=a msgbox, % IndentScript(a)Clipboard:= % IndentScript(a)exitapp IndentScript(LVData){global IndentStrpos = 1; 연속 서치를 위해 while(pos := RegExMatch(LVData, "sU)class=""title"" ti..
[오토핫키] 한글 OCR
·
오토핫키
https://github.com/iseahound/Vis2 위 경로에서 파일들을 받습니다. 기존에는 영어만 인식하므로 한글 데이터를 추가해줍니다. https://github.com/tesseract-ocr/tessdata_best 위 경로에서 kor.traineddata 다운로드 처음에 받았던 폴더 중에서 bin\tesseract\tessdata_best와 bin\tesseract\tessdata_fast 각각 두 폴더에 방금 받은 kor.traineddata를 둘다 넣어줌. demo.ahk를 적절히 수정해서 사용. 예제 영어에 비해서 인식률은 많이 후달립니다. 기대하지 마시길
[윈도우] ICMP 허용하기
·
Windows
cmd 창 관리자 권한 실행. 관리자 권한으로 하지 않으면 적용안됨. netsh advfirewall firewall add rule name="ICMP Allow" protocol=icmpv4:8,any dir=in action=allow 입력. 확인.
[윈도우] 잠금화면 배치파일 만들기
·
Windows
메모장 열어서 rundll32.exe user32.dll, LockWorkStation 위 내용 저장. 확장자 txt에서 bat으로 바꾸기. cmd 창 안뜨고 바로 잠금화면 하려면 @echo offrundll32.exe user32.dll, LockWorkStation
[SECUI] MF2 UTM 초기화
·
SECUI
* 콘솔 Connection type: SerialSerial line: COM XSpeed: 115,200콘솔 접속된 상태에서su - adminconfigure terminallevel3factory-resetN (라이센스 삭제안함)Y (로그파일 삭제함)패스워드 입력[출처] 시큐아이 MF2 초기화 문의 (네트워크 전문가 따라잡기) |작성자 혼자서도잘해요
[Cisco] 자주쓰는 Config들
·
Cisco
* 공장 초기화 https://blog.boxcorea.com/wp/archives/2049(기존 설정 필요 없을 경우) http://withuc.tistory.com/78(기존 설정 유지할 경우) * 자주 쓰는 것들 참조: http://zigispace.net/368 service password-encryption- 장비 password를 Config에서 Plain Text로 보이지 않고 암호화해서 보이게 함.- Default : 미설정 상태 enable secret cisco- Config에서 암호화되게 표시 line console 0 :콘솔연결설정password 비번 :콘솔연결비번설정login :콘솔연결시 비번 묻는 설정logging synchronous :명령어 입력중 시스템메세지가 뜨면 자동으..