ssh는 되는데 sftp는 안될때
서버에서 ssh는 잘 접속되는데, 탄은 프로토콜인 sftp는 안될때가 있다. sshd 설정 파일을 아래와 같이 수정하고 재시작 정상적으로 sftp로 접속이 가능
읽어보기 →AI Coding, Development, Security, Network, Automation을 중심으로 실제 구축 과정에서 만난 문제와 해결 방법을 정리합니다.
이 영역에는 쿠팡/토스 파트너스 제휴 링크가 포함되어 있으며, 구매 시 일정액의 수수료를 제공받을 수 있습니다.
최근 작성한 글 10개
서버에서 ssh는 잘 접속되는데, 탄은 프로토콜인 sftp는 안될때가 있다. sshd 설정 파일을 아래와 같이 수정하고 재시작 정상적으로 sftp로 접속이 가능
읽어보기 →" " docker db 활용 1. docker 설치 https://www.docker.com/ 2. db 이미지 다운로드 docker pull postgres docker pull mariadb docker pull mysql docker pull sath89/oracle-xe-11g 3. 다운 받은 이미지 확인 $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE postgres latest 45e33d1af449…
읽어보기 →error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/share': Operation not permitted 에러 발생... 원인을 찾아보니.. MacOS X El Capitan 이후 추가된 기능인 '시스템 무결성 보호(SIP:System Integrity Protection)' 때문인듯 하다. 이는 시스템 파일과 폴더를 수정할 가능성을 사전에 차단해 악성 소프트웨어로부터 Mac을 보호해 주는 기능이다. 하지만 설치도…
읽어보기 →읽어보기 →
" " AES 방식(Key) var key = 'this is password key'; var input = 'This_is_Password!'; var cipher = crypto.createCipher('aes192', key); cipher.update(input, 'utf8', 'base64'); var cipheredOutput = cipher.final('base64'); var decipher = crypto.createDecipher('aes192', key); decipher.update(cipheredOutput, 'base64', 'utf8'); var decipheredOutput = decipher.final('utf8'); console.log('original string: '…
읽어보기 →드디어 webhacking.kr 를 다 풀었다.. 110번째네..ㅋ 재미있었음..^^
읽어보기 →문제 : 드디어 마지막 문제다. 1000점!! 역시 높은 점수의 문제는 대부분 SQL Injection 이다.. 힌트는 HINT : select flag from prob13password 이다. flag 값을 알아오는 것으로 보인다. no 값을 1을 넣으면 1이 2를 넣으면 0이 나온다. Blind SQL Injectiion 문제다.. 사용할수…
읽어보기 →문제 : 드뎌 900점이다ㅋㅋ 문제 9번을 누르면 바로 HTTP Basic Authorization 이 뜬다.. SQL Injection 이 나오길래.. SQL Injection 공격을 해봤지만...안됬다..ㅠㅠ 근데 좀 생각해보니 HTTP Basic Authorization는 보통 DB를 사용하지 않는다..(일반적으로 .htaccess와 .htpasswd를 사용) 그럼 우회하는 다른방법이 있을 것 같아 찾아보니…
읽어보기 →문제 : index.phps 가 존재한다. <html> <head> <title>Challenge 57</title> </head> <body> <? $secret_key="????"; if(time()>1309064400) exit("오후 2시에 공개됩니다."); if($_POST[pw]) { if($_POST[pw]==$secret_key) { mysql_query("delete from challenge57msg"); @solve(); exit(); } } if($_GET[msg] && $_GET[se]) { if(eregi("from|union|select|and|or|not|&|\||benchmark",$_GET[se])) exit("Access Denied"); mysql_query("insert into challenge57msg(id,msg,pw,op) values('$_SESSION[id]','$_GET[msg]','$secret_key',$_GET[se])"); echo("Done<br><br>"); }…
읽어보기 →문제 : SQL INJECTION 이라고 떡 적혀있따... 소스보기를 하니 index.phps 가 힌트로 있다. <html> <head> <title>Challenge 45</title> </head> <body> <h1>SQL INJECTION</h1> <form method=get action=index.php> id : <input name=id value=guest><br> pw : <input name=pw value=guest><br> <input type=submit> <input type=reset> </form> <? if(time()<1256900400) exit();…
읽어보기 →