이 영역을 누르면 첫 페이지로 이동
포렌식 & 개발 이야기 - Forensics & Development 블로그의 첫 페이지로 이동

포렌식 & 개발 이야기 - Forensics & Development

페이지 맨 위로 올라가기

포렌식 & 개발 이야기 - Forensics & Development

Pental - Forensics / iOS / Windows / Android / Kakaotalk / Telegram / Etc

Programming/Python

  • 포렌식 & 개발 이야기 - Forensics & Development
[정올] 1516 : 단어 세기

[정올] 1516 : 단어 세기

2020.03.31
text = [] for i in range(200): temp = input() if(temp == 'END'): break else: text.append(temp) list_count = len(text) result = [] for i in range(list_count): temp = text[i].split() result.append(temp) # print(result) w_count = {} for i in range(1): for test in result[i]: try : w_count[test] += 1 except : w_count[test] = 1 print('\n') # from collections import Counter # wordDict = Counter() # for..
[정올] 2604:그릇

[정올] 2604:그릇

2020.03.27
a = input() result = list(a) list_count = len(result) height = 10 for i in range (1, list_count): if (result[i] == result[i - 1]): height += 5 elif (result[i] != result[i - 1]): height += 10 else: print("Err") print(height) https://github.com/kim-do-hyeon/jungol/blob/master/2604/2604.py kim-do-hyeon/jungol Contribute to kim-do-hyeon/jungol development by creating an account on GitHub. github.com
[정올] 2814 : 이진수

[정올] 2814 : 이진수

2020.03.25
num = input() if(len(num) > 30): print("err") else: print(int(num,2)) https://github.com/kim-do-hyeon/jungol/blob/master/2814/2814.py kim-do-hyeon/jungol Contribute to kim-do-hyeon/jungol development by creating an account on GitHub. github.com
[정올] 1534 : 10진수를 2,8,16진수로

[정올] 1534 : 10진수를 2,8,16진수로

2020.03.25
num = input() temp = num.split(' ') value = int(temp[1]) num = int(temp[0]) if (value == 2): print(format(num, 'b')) if (value == 8): print(format(num, 'o')) if (value == 16): temp = format(num, 'x') temp = temp.upper() print(temp) https://github.com/kim-do-hyeon/jungol/blob/master/1534/1534.py kim-do-hyeon/jungol Contribute to kim-do-hyeon/jungol development by creating an account on GitHub. gi..
[정올] 1430 : 숫자의 개수

[정올] 1430 : 숫자의 개수

2020.03.25
A = int(input()) B = int(input()) C = int(input()) result = A * B * C result_list = list(str(result)) for i in range(10): result_num_list = result_list.count(str(i)) print(result_num_list) https://github.com/kim-do-hyeon/jungol/blob/master/1430/1430.py kim-do-hyeon/jungol Contribute to kim-do-hyeon/jungol development by creating an account on GitHub. github.com
[정올] 2809 : 약수

[정올] 2809 : 약수

2020.03.24
n = int(input()) for i in range(int(1)): d = [] for i in range(1, int(n**0.5)+1): if n%i == 0: d.append(i) if i!=n//i: d.append(n//i) sort = d.sort() print(" ".join(map(str, d))) https://github.com/kim-do-hyeon/jungol/blob/master/2809/2809_success.py
[정올] 1658 : 최대공약수와최소공배수

[정올] 1658 : 최대공약수와최소공배수

2020.03.24
from math import gcd def lcm(x,y): return x * y // gcd(x,y) a = input() temp = a.split(' ') print(gcd(int(temp[0]), int(temp[1]))) print(lcm(int(temp[0]), int(temp[1]))) https://github.com/kim-do-hyeon/jungol/blob/master/1658/1658.py kim-do-hyeon/jungol Contribute to kim-do-hyeon/jungol development by creating an account on GitHub. github.com
python - 공백줄 삭제

python - 공백줄 삭제

2020.03.15
print "".join([s for s in t.strip().splitlines(True) if s.strip()])
Python - Volatility Cmdscan 에서 중요한 정보만 추출하기

Python - Volatility Cmdscan 에서 중요한 정보만 추출하기

2019.11.21
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 #Written by Pental #Cmdscan 결과 추출 print ("Source by Pental / Extract CmdScan Result") import re import string # Function #Find Unique Word def findSentence(fileName, findText): file = open(fileName, mode="r", encoding="utf8") result = [] data = file.read() data = data.splitlines() for line in data: se..
Python - Volatility pslist 에서 특정 프로세스만 추출하기

Python - Volatility pslist 에서 특정 프로세스만 추출하기

2019.11.21
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 #Written by Pental # 특정 프로세스 정보 추출 import re import string import sys # Function #Find Unique Word def findSentence(fileName, findText): file = open(fileName, mode="r", encoding="utf8") result = [] data = file.read() data = data.splitlines() for line in dat..
Python - Volatility ImageInfo 에서 중요한 결과만 추출하기

Python - Volatility ImageInfo 에서 중요한 결과만 추출하기

2019.11.20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 #Written by Pental import re import string # Function #Find Unique Word def findSentence(fileName, findText): file = open(fileName, mode="r", encoding="utf8") result = [] data = file.re..
  • 최신
    • 1
  • 다음

정보

포렌식 & 개발 이야기 - Forensics & Development 블로그의 첫 페이지로 이동

포렌식 & 개발 이야기 - Forensics & Development

  • 포렌식 & 개발 이야기 - Forensics & Development의 첫 페이지로 이동

검색

메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

카테고리

  • Category (452)
    • Forensics (105)
      • Magnet AXIOM (28)
      • Digital Forensics Informati.. (9)
      • Iphone Forensics (24)
      • DFC (7)
      • 디지털포렌식전문가2급 자격증 (10)
      • FTK ACE 자격증 (7)
    • 이것저것 (7)
      • Ubuntu (6)
      • 디스코드 봇 (4)
      • Volatility GUI (2)
    • CTF (32)
      • NEWSECU (14)
      • CTF-d (5)
      • Puzzel - Network Forensics (2)
      • Security Traps (2)
      • system32.kr (5)
      • HMCTF (4)
    • Programming (260)
      • C (10)
      • Python (11)
      • 백준 (206)
      • 프로그래머스 (32)
    • 그냥 개발 및 잡담 (16)
      • Docker (2)
      • Google Cloud (3)
      • OS 개발 (3)
    • Best of Best (20)

최근 글

인기 글

댓글

공지사항

아카이브

태그

  • axiom
  • 포렌식
  • 프로그래머스
  • 디지털포렌식
  • pental
  • 백준
  • Forensics
  • 파이썬
  • 전체 보기…

정보

pental의 포렌식 & 개발 이야기 - Forensics & Development

포렌식 & 개발 이야기 - Forensics & Development

pental

블로그 구독하기

  • 구독하기
  • RSS 피드

방문자

  • 전체 방문자
  • 오늘
  • 어제

티스토리

  • 티스토리 홈
  • 이 블로그 관리하기
  • 글쓰기
Powered by Tistory / Kakao. Copyright © pental.

티스토리툴바