java.lang.NullPointerException 오류

상태

어플리케이션(APK)이 열리지 않고 "java.lang.NullPointerException" 메시지 출력

 

해결 방법

최신 JRE을 설치하여 기존에 설치된 JAVA PATH를 지우고 JRE를 PATH 하시면 됩니다.

 

JRE : https://java.com/ko/download/

 

'MEMO' 카테고리의 다른 글

JEB java.lang.NullPointerException 오류 해결 방법  (0) 2020.07.19
Python(.pyc) 디컴파일  (0) 2020.05.01
CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22

$ pip install uncompyle6

$ uncompyle6 {filename}.pyc

'MEMO' 카테고리의 다른 글

JEB java.lang.NullPointerException 오류 해결 방법  (0) 2020.07.19
Python(.pyc) 디컴파일  (0) 2020.05.01
CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22

[ 암호 ]

- CyberChef : 다양한 인코딩 지원

- Cryptii : 다양한 인코딩 지원

- codebeautify : 다양한 인코딩 지원

- quipqiup : 치환암호 복호화

- md5decrypt : md5 복호화

- Integer factorization calculator : 소인수분해 계산

- Brainfuck : 예) "[>+++++++++" 암복호화

 

[ 포렌식 ]

- Jeffrey's Image Metadata Viewer : Exif

 

[ 바이너리 ]

- Online x86 / x64 Assembler and Disassembler

- OnlineGDB

 

[ 웹 ]

- Online JavaScript Beautifier : 자바스크립트 정렬

- URL ParserURL Parser / Query String Splitter

'MEMO' 카테고리의 다른 글

JEB java.lang.NullPointerException 오류 해결 방법  (0) 2020.07.19
Python(.pyc) 디컴파일  (0) 2020.05.01
CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22

미러서버

$ sudo vim /etc/apt/sources.list

:%s/kr.archive.ubuntu.com/mirror.kakao.com

:%s/us.archive.ubuntu.com/mirror.kakao.com

:%s/archive.ubuntu.com/mirror.kakao.com

 

:%s/security.ubuntu.com/mirror.kakao.com

 

기본

ssh, htop, net-tools, pypy3, git, rzsz, tmux

$ sudo apt-get install ssh; sudo apt-get install htop; sudo apt-get install net-tools; wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.3.0-linux64.tar.bz2; tar -xvf pypy3.6-v7.3.0-linux64.tar.bz2; sudo mv pypy3.6-v7.3.0-linux64 /usr/local/bin/; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pypy3 pypy3; sudo mv pypy3 /usr/local/bin/; curl -O http://python-distribute.org/distribute_setup.py; wget https://bootstrap.pypa.io/get-pip.py; pypy3 distribute_setup.py; pypy3 get-pip.py; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pip pypy3-pip; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/easy_install pypy3-easy_install; sudo mv pypy3-easy_install pypy3-pip /usr/local/bin/; rm -rf pypy3.6-v7.3.0-linux64 pypy3.6-v7.3.0-linux64.tar.bz2 get-pip.py; rm -rf distribute_setup.py; sudo apt-get install git; sudo apt-get install lrzsz; sudo apt-get install tmux; sudo apt-get install upgrade; sudo apt-get install update;

 

* Ubuntu 20.4인 경우

python2

$ sudo apt install python2; curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py; sudo python2 get-pip.py; rm -rf get-pip.py;

 

바이너리

gdb, checksec, z3(python3), binwalk, pwntools(python3), peda
$ sudo apt install gdb; sudo apt install checksec; pip3 install z3; sudo apt install binwalk; python3 -m pip install --upgrade git+https://github.com/Gallopsled/pwntools.git@dev; git clone https://github.com/longld/peda.git ~/peda; echo "source ~/peda/peda.py" >> ~/.gdbinit;

 

포렌식

foremost, pdfcrack, outguess
$ sudo apt install foremost; sudo apt-get install pdfcrack; sudo apt-get install outguess;

 

업데이트

pip 업데이트(패키지 포함)

$ python -m pip install --upgrade pip; python3 -m pip install --upgrade pip; pip freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs pip install -U

'MEMO' 카테고리의 다른 글

Python(.pyc) 디컴파일  (0) 2020.05.01
CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22
Ubuntu Firewall Setup  (0) 2020.03.22

$ git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959

$ sudo dkms add ./rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959

$ sudo dkms install -m rtl88x2bu -v 5.3.1

$ sudo modprobe 88x2bu

 

[ Fast Install ]

$ git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959; sudo dkms add ./rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959; sudo dkms install -m rtl88x2bu -v 5.3.1; sudo modprobe 88x2bu;

'MEMO' 카테고리의 다른 글

CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22
Ubuntu Firewall Setup  (0) 2020.03.22
HTTP → HTTP Redirect  (0) 2020.03.22

1. Site

https://www.pypy.org/download.html

 

2. Install (The red letter depends on the version)

$ wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.3.0-linux64.tar.bz2

$ tar -xvf pypy3.6-v7.3.0-linux64.tar.bz2

$ sudo mv pypy3.6-v7.3.0-linux64 /usr/local/bin/

$ sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pypy3 pypy3

$ sudo mv pypy3 /usr/local/bin/

$ curl -O http://python-distribute.org/distribute_setup.py

$ wget https://bootstrap.pypa.io/get-pip.py

$ pypy3 distribute_setup.py

$ pypy3 get-pip.py

$ sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pip pypy3-pip

$ sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/easy_install pypy3-easy_install

$ sudo mv pypy3-easy_install pypy3-pip /usr/local/bin/

$ sudo apt-get install upgrade; sudo apt-get install update

 

3. Fast Install

$ wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.3.0-linux64.tar.bz2; tar -xvf pypy3.6-v7.3.0-linux64.tar.bz2; sudo mv pypy3.6-v7.3.0-linux64 /usr/local/bin/;wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.3.0-linux64.tar.bz2; tar -xvf pypy3.6-v7.3.0-linux64.tar.bz2; sudo mv pypy3.6-v7.3.0-linux64 /usr/local/bin/; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pypy3 pypy3; sudo mv pypy3 /usr/local/bin/; curl -O http://python-distribute.org/distribute_setup.py; wget https://bootstrap.pypa.io/get-pip.py; pypy3 distribute_setup.py; pypy3 get-pip.py; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/pip pypy3-pip; sudo ln -s /usr/local/bin/pypy3.6-v7.3.0-linux64/bin/easy_install pypy3-easy_install; sudo mv pypy3-easy_install pypy3-pip /usr/local/bin/; sudo apt-get install upgrade; sudo apt-get install update;

 

4. Module

$ pypy3 -m pip install {module}

'MEMO' 카테고리의 다른 글

CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22
Ubuntu Firewall Setup  (0) 2020.03.22
HTTP → HTTP Redirect  (0) 2020.03.22

- Turn on/off Firewall

$ sudo ufw {enable, disable}

 

- Ports and Protocols Open/Blocking

$ sudo ufw {allow, deny} {port}/{protocol}

ex. sudo ufw allow 80/tcp

ex. sudo ufw deny 80/tcp

 

- Remove Rule

$ sudo ufw delete {allow, deny} {port}/{protocol}

ex. sudo ufw delete allow 8080/tcp

ex. sudo ufw delete deny 8888/tcp

 

- IP Open/Blocking

$ sudo ufw {allow, deny} from {ip}

ex. sudo ufw allow from 10.0.0.1

ex. sudo ufw deny from 10.0.0.4

ex. sudo ufw delete deny from 10.0.0.4

 

- View Status

$ sudo ufw status

'MEMO' 카테고리의 다른 글

CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22
Ubuntu Firewall Setup  (0) 2020.03.22
HTTP → HTTP Redirect  (0) 2020.03.22

$ sudo vim /etc/apache2/sites-enabled/000-default.conf

 

[ 추가 ]

ServerName myserver.xyz

ServerAlias www.myserver.xyz

Redirect / http://myserver.xyz

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

 

[ 참고 ]

http(80), https(443) 포트 열린 상태와 방화벽 활성화

'MEMO' 카테고리의 다른 글

CTF 풀 때 도움 되는 사이트 정리  (0) 2020.04.13
우분투 초기 세팅하는 것들  (0) 2020.04.09
iptime 3000U Network Drive Install  (0) 2020.04.07
pypy3 Install  (0) 2020.03.22
Ubuntu Firewall Setup  (0) 2020.03.22
HTTP → HTTP Redirect  (0) 2020.03.22

+ Recent posts