본문 바로가기
반응형

전체 글854

C# - DllImport – Using the C ++ DLL / Windows API The strong point of C # is that it is easy to import Dll and Windows API developed in C ++ as well as .Net Framework. The part that provides this functionality is DllImport. DllImport is available under the following conditions. It must also be using System.Runtime.InteropServices in Microsoft Visual Studio https://docs.microsoft.com/ko-kr/dotnet/api/system.runtime.interopservices?view=netframew.. 2020. 10. 29.
ShellScript - /bin/sh: bad interpreter: No such file or directory Linux에서 쉘 스크립트를 실행하다 보면 아래 오류와 함께 실행이 되지 않는 경우가 있다. /bin/sh: bad interpreter: No such file or directory 먼저 /bin/sh 와 연결된 파일이 무엇이니 하는 작업을 해보면 dash로 연결되어 있는 경우 위 오류가 발생할 수 있다. ls -l /bin/sh ~~~~~ /bin/sh -> dash 해결 방법 1- dash 비활성화 만약 bash가 아닌 다른것과 연결되어 있다면(보통 Ubuntu는 dash가 기본으로 설정된다) dash를 변경해주자 sudo dpkg-reconfigure dash 입력후 No 선택 해결 방법 2- bash로 지정해서 실행 bash를 직접 지정해서 실행하면 된다. 다만 bash를 직접 지정할 수 없다.. 2020. 10. 29.
WebKnight - How to fix About Famous errors http://www.aqtronix.com/?PageID=99 Webknight Famous error 1 not allowed in URL 2013-07-08 ; 08:04:21 ; W3SVC2 ; OnPreprocHeaders ; ::1 ; ; xxxxx; GET ; /xxxxx/ ; BLOCKED: ‘/xxxxx/‘ not allowed in URL ; HTTP/1.1 ; Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0) ; http://localhost/ This error is related to Denied Url Sequences. Disable or modify Use Denied Url Sequences und.. 2020. 10. 29.
[viking, kido] 네트워크 감염 방지 asdisabler (숨김공유삭제) 네트워크 윔 바이러스에 많이 사용되는 방식이 네트워크를 통해 숨김 공유를 통해 로컬의 PC에 침투하는 방식입니다. 주로 활동하는 바이러스는 viking.ad변형과 kido.h 변형이 많은것 같은데요, 두 바이러스 다 윔 바이러스로, 윈도우에서 기본 제공하는 숨김 공유 기능를 이용하여 복제하는 특징을 가지고 있습니다. 네트워크 윔 바이러스는 보통 쓰기 공유가 가능한 경로를 통해 감염되므로, 다음 2가지를 진행하시면 이와 비슷한 종류의 바이러스 감염을 막을수 있습니다. 1. 쓰기 공유를 하지 않고 공유가 필요할 시 읽기 공유를 사용합니다. 2. 윈도우 기본 공유(숨김 공유)를 제거합니다. – 숨김 공유를 제거하는게 어려우신 분들을 위해 간단히 프로그램을 만들어 같이 배포합니다. * 숨김 공유 삭제 프로그램 .. 2020. 10. 29.
Vigenere 알고리즘 크랙(해독)하기 CISCO 암호 알고리즘 우리가 흔히 네트워크 장비에서 환경설정 내용을 다음과 같은 텍스트 문구를 볼수 있다. 위 설정 화면중 enable password 7 104B0718071B17 위 내용은 관리자 모드를 들어가기 위한 패스워드 이며, Vigenere 암호화 되어 있다는걸 네트워크 초보라도 알수 있다 그럼 여기서 네트워크 장비의 암호화 종류를 먼저 알아보자 (CISCO 기준으로 일부 다른 장비의 알고리즘은 다를수 있음) Clear Text 일반 평문으로 저장되는 방식 밑줄이 패스워드로 환경설정 파일에서 바로 패스워드를 확인할수 있다. enable password password Vigenere Vigenere 알고리즘을 사용한 방식으로 일반적으로 많이 장비에서 볼수 있다. 밑줄 부분이 암호화 된 압.. 2020. 10. 29.
Revelation – Windows 암호 보여주는 프로그램 간혹 자동 저장해 놓은 암호를 잃어버렸거나 공용 컴퓨터에서 별모양으로 표시되는 암호를 해독할때 용의 하게 사용할 수 있습니다. 비스타까지 잘 되더군요. 프로그램 사용 방법은 아주 간단합니다. 별 모양 암호 보기 1. 압축을 풀고 revelation.exe를 실행합니다. 2. 그림에서 처럼 조준커서를 마우스로 보고자하는 별표시에 끌어 놓으면 Text of Window Under 구역에 별표의 실제 내용이 표시됩니다. ( Status가 녹색이 될때까지 커서로 누르고 있으면 됩니다.) 패스워드 보여주는 프로그램이라 그런지, Tistory에서 업로드를 막아 비밀번호를 넣었습니다. Password 1234 2020. 10. 29.
Wordpress – Set your wp-config.php to writable A definition of a siteurl or homeurl was detected in your wp-config.php, but the file is not writable. Set your wp-config.php to writable and reload this page. WordPress of Bitnami WordPress of Bitnami when use SSL plugin, You can show this error. So, Im recommend to connect SSH that server. You should run the following command within ssh sudo chmod 664 /opt/bitnami/apps/wordpress/htdocs/wp-conf.. 2020. 10. 29.
MVC - submit change or clear value of Textbox what else During a recent operation, we will send the value of Textbox to Get via submit, and then we will try to remove the value entered in Textbox, but we will share the method we found when ViewBag is not working. In MVC, there are times when you need to exchange a lot of data with a View. In particular, you may need to pass a value after submit, or delete the value you entered before submit. Normally.. 2020. 10. 28.
반응형