네트워커의 보안 티스토리

Prev 1 ··· 3 4 5 6 7 8 9 ··· 50 Next

SSH 혹은 Console 접근.

 

5. Device Management -> 3.Advanced Shell

 

service tomcat:restart -ds nosync  입력

 

200 OK 나오면 정상적으로 restart 되는 것.

 

 

'Sophos' 카테고리의 다른 글

[Sophos] XG FW Load average 분석  (0) 2019.09.23
소포스 통상적으로 제거 안될 때 스크립트  (0) 2017.09.12

* 콘솔로 로그인해서 시리얼 넘버를 알고 있는 경우

* 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 all current configuration and settings. Would you like to continue?  y/[n] y
!! Reconfirm Lost Password Reset !! If you continue, the entire configuration of the device will be erased. In addition, a permanent counter will be incremented to signify that this device has been reset. This is your last chance to cancel this command. If you proceed, the device will return to factory default configuration, which is: System IP: 192.168.1.1; username: netscreen, password: netscreen. Would you like to continue?  y/[n] y

 

* 패스워드 모르는 경우

장비에 있는 Reset 버튼 누를 것.

 

픽셀값찾기.ahk


/*
F2를 누르면 마우스에 위치해 있던 좌표에 기반해 픽셀 값을 따냄.

따낸 픽셀 값은 툴팁으로 뜬다.

그 상태에서 F3을 누르면 db.txt에 저장한다.

다만 중복될시 저장안하고 

중복이 되지 않는다면 저장을 한다.

픽셀값을 계속 여러개 저장해야돼서 사용하기 위해 만들었습니다.

*/


#SingleInstance Force

F2::


{

MouseGetPos, xPos, yPos

PixelGetColor, Pcolor, %xPos%, %yPos%

;ClipBoard := PixelSearch, xPos2, yPos2, 0,0, A_ScreenWidth, A_ScreenHeight, %Pcolor%, 5, Fast

ToolTip 색값 : %Pcolor%

}


return


F3::

if Pcolor= False

reload


Ifnotexist db.txt

FileAppend,,db.txt


FileRead, var, db.txt

if errorlevel = 0

{


IfNotinString, var, %Pcolor%

{

msgbox, 새로운 픽셀 값 %Pcolor% 입니다.

          

;FileAppend,%Pcolor%.db.txt

FileAppend,%Pcolor%`n,db.txt

}

else

{

msgbox, 기존에 있는 값 %Pcolor% 입니다.


   }

}

return


F4::exitapp