본문 바로가기
조회 수 1539 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print

Base64 Encode using OpenSSL


$ echo 'mystring' | openssl base64
bXlzdHJpbmcK

$ openssl base64 -in test.pcap -out test.base64
$ head test.base64
1MOyoQIABAAAAAAAAAAAAP//AAABAAAAibc5UkJcBwBOAAAATgAAAJBhDBPrQIgf
oQAzVAgARQAAQOtaQABABr58wKh7AUUUECPdPgBQVBl0fgAAAACwAv//1WoAAAIE
BbQBAwMEAQEICoOepu0AAAAABAIAAIm3OVLqhQcAmgUAAJoFAACIH6EAM1SQYQwT
[...]

Base64 Decode using OpenSSL


$ echo 'bXlzdHJpbmcK' | openssl base64 -d
mystring

$ openssl base64 -d -in test.base64 -out test2.pcap

$ ll
total 784
drwxr-xr-x   5 test  test     170 Sep 18 22:31 ./
drwx------+ 17 test  test     578 Sep 18 22:23 ../
-rw-r--r--   1 test  test  160055 Sep 18 22:29 test.base64
-rw-r--r--   1 test  test  118193 Sep 18 22:24 test.pcap
-rw-r--r--   1 test  test  118193 Sep 18 22:30 test2.pcap

$ md5 test.pcap test2.pcap
MD5 (test.pcap) = 1fcfcf6c739faeaa3fcafd854e69e86e
MD5 (test2.pcap) = 1fcfcf6c739faeaa3fcafd854e69e86e


Title
List of Articles
번호 제목 글쓴이 날짜 조회 수
20 How to Decrypt SSL and TLS Traffic using Wireshark (test with sample file) file Hojung 2015.01.23 2692
19 자바스크립트 난독화 기법 / 분석 방법론 (정리예정) Hojung 2015.01.05 1697
» Base64 encode/decode with OpenSSL Hojung 2015.01.04 1539
17 Convert ascii to hex and vice versa (hexdump, od, xxd, echo -e) Hojung 2015.01.04 1274
16 Simple ruby script to de-obfuscate with XOR string Hojung 2015.01.01 886
15 Installing yara on CentOS and test with Ruby script Hojung 2014.12.31 2211
14 Installing Yara for ruby on Mac Hojung 2014.12.31 955
13 How to find the original email sender (check X-Originating-IP or Received headers) Hojung 2014.12.29 1067
12 Links for FireEye Deployment Check Hojung 2014.12.11 2912
11 Get timezone info from system logs which is /var/log/messages Hojung 2014.12.07 1001
10 Analysing NTPd logs file Hojung 2014.12.07 1669
9 Sguil with tcpreplay (Security Onion) file Hojung 2014.12.01 2591
8 Wireshark settings for traffic analysis file Hojung 2014.11.29 1289
7 Security Onion with Snort and Snorby (pulledpork and snort with offline pcap included) file Hojung 2014.11.24 3914
6 Snort on Ubuntu 14 (Barnyard2, PulledPork, BASE, Snort with pcap) file Hojung 2014.11.22 3715
5 How to install Snorby in Kali (snort) file Hojung 2014.11.21 12031
4 install geoiplookup on Mac Hojung 2014.08.06 3268
3 DDoS 공격대응 가이드 Hojung 2014.07.29 4383
2 DDoS 분석도구 설치 및 분석 (tcpdstat, ngrep, httpry) Hojung 2014.07.25 3708
1 Perl script to push samples to Virustotal Hojung 2014.02.20 1457
Board Pagination ‹ Prev 1 Next ›
/ 1

Designed by sketchbooks.co.kr / sketchbook5 board skin

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5