본문 바로가기
반응형

전체 글88

kali linux 부팅 usb 만들기 iso-usb 1. kali linux iso 다운하기 Kali Linux 64-Bit : https://drive.google.com/open?id=1KvH5ATBGWsdIEVGB0zSP6-RaFLl0aku2 Kali Linux 32-Bit : https://drive.google.com/open?id=1Zd1QL5zNFJcXbFzHo5avtZpSPE465DsK https://www.kali.org/downloads/ Kali Linux Downloads www.kali.org 사이트를 통한 다운로드 2. rufus 파일 다운하기 https://rufus.ie/ Rufus rufus.ie 사이트를 통한 다운로드 3. rufus 프로그램을 사용해서 부팅 usb 만들기 1) 프로그램 실행하기 2) 선택버튼을 눌러서 다운.. 2019. 5. 30.
우분투 데비안 화면 캡처하기! 스크린샷 찍기 단축키 : Print 기본적인 스크린샷 찍기 방법이다. 전체 화면이 스크린샷으로 찍힌다. 활성화 된 창의 스크린샷 찍기 단축키 : Alt + Print 현재 마우스로 한번 클릭해서, 맨앞에 떠있는 활성화 상태의 창 1개만 스크린샷을 찍는다. 영역의 스크린샷 찍기 단축키 : Shift + Print 위 단축키를 누르면 마우스가 '십자' 모양으로 변경되면서 영역을 지정하여 원하는 부분을 캡처할수 있다. 클립보드로 스크린샷 복사 단축키 : Ctrl + Print 전체 화면을 스크린샷으로 찍는다. 클립보드로 찍은 스크린샷이 복사되어, Ctrl+V 로 붙여 넣을 수 있다. 활성화 된 창의 스크린샷을 클립보드로 복사 단축키 : Ctrl + Alt + Print 현재 마우스로 한번 클릭해서, 맨앞에 떠.. 2019. 5. 30.
kail linux playonlinux 설치하기 찾다 찾다가 발견했습니다! 설치하는 방법은 apt-get install playonlinux 아래의 방법은 Root 계정일 때, 설치 후 실행할 수 있는 방법입니다. 참고하세요! 1) /usr/share/playonlinux/lib 에서 sources 클릭 2) sources 안의 구문 수정 (주석처리: 앞에 #만 붙임) #if [ "$(id -u)" = "0" ] #then # echo "PlayOnLinux is not supposed to be run as root. Sorry" # exit #fi 3) /usr/share/playonlinux/python 에 들어가서 mainwindow.py 클릭 if 부터 앞에 # 를 붙임 #### Root uid check #if(os.popen("id -u".. 2019. 5. 30.
kail linux 크롬 설치하기 크롬 사이트에 deb파일을 다운받는다 해당 폴더에 들어간다 cd 그다음 ls으로 파일 항목을 확인한후 dpkg -i 명령어를 사용해서 다운을 해준다 google-chrome-stable --no-sandbox로 열어준다 하지만 이렇게 실행하면 복잡하기에 바로 열기를 설정할 것이다 vi /usr/bin/google-chrome-stable을 쳐주고 맨 아래에잇는 것을 변경해준다. exec -a "$0" "$HERE/chrome" "$@" --no-sandbox --user-data-dir 노란색 배경 부분을 추가해주고 esc :wq enter을 치고 나가면 저장이된다. 이제 크롬을 누르면 바로 실행이된다. 이 방법은 root계정이 사용할수 있게 하지만 따로 user을 만들어서 하면 이러한 과정이 필요가 없.. 2019. 5. 29.
winapi 공부하는 게시글 while (TRUE) { BlockInput(TRUE); } #include #include #define IDR_ACCELERATOR1 #define ID_Dont LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); HINSTANCE g_hlnst; LPCTSTR lpszClass = TEXT("제목"); int APIENTRY WinMain(HINSTANCE hlnstance, HINSTANCE hPrevlnstance, LPSTR lpszCmdParam, int nCmdShow) { HWND hWnd; MSG Message; WNDCLASS WndClass; g_hlnst = hlnstance; HACCEL hAccel; WndClass.cbClsExt.. 2019. 5. 27.
winapi 윈도우 x창 없애기 WndClass.style = CS_NOCLOSE; 2019. 5. 27.
winapi 키보드 입력 VK_ Constant/valueDescription VK_LBUTTON0x01 Left mouse button VK_RBUTTON0x02 Right mouse button VK_CANCEL0x03 Control-break processing VK_MBUTTON0x04 Middle mouse button (three-button mouse) VK_XBUTTON10x05 X1 mouse button VK_XBUTTON20x06 X2 mouse button -0x07 Undefined VK_BACK0x08 BACKSPACE key VK_TAB0x09 TAB key -0x0A-0B Reserved VK_CLEAR0x0C CLEAR key VK_RETURN0x0D ENTER key -0x0E-0F Undefined V.. 2019. 5. 27.
winapi 마우스를 창안에 가두기 LRESULT CALLBACK WndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; RECT rc; POINT p1, p2; GetClientRect(hWnd, &rc); p1.x = rc.left; p1.y = rc.top; p2.x = rc.right; p2.y = rc.bottom; ClientToScreen(hWnd, &p1); ClientToScreen(hWnd, &p2); rc.left = p1.x; rc.top = p1.y; rc.right = p2.x; rc.bottom = p2.y; ClipCursor(&rc); switch (iMessage) { case WM_DESTROY: P.. 2019. 5. 27.
winapi 최상위 윈도우로 설정하기 1.BringWindowToTop을 쓰기위해 아래를 사용해야한다. if(::GetForegroundWindow() != this->m_hWnd){ HWND h_active_wnd = ::GetForegroundWindow(); if(h_active_wnd != NULL){ DWORD thread_id = GetWindowThreadProcessId(h_active_wnd, NULL); DWORD current_thread_id = GetCurrentThreadId(); if(current_thread_id != thread_id){ if(AttachThreadInput(current_thread_id, thread_id, TRUE)){ BringWindowToTop(); AttachThreadInput(.. 2019. 5. 27.
반응형