inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

프리다(Frida)를 이용한 안드로이드 앱 모의해킹

프리다 설치 시 아래와 같은 오류가 발생합니다. (python 3.7.7)

606

WhiteGuidance

작성한 질문수 3

0

(py3) C:\Users\keshk>pip install frida-tools

Processing c:\users\keshk\appdata\local\pip\cache\wheels\07\02\82\8ee969ea132cc8c1055105d89f752918005818683d68f09af6\frida_tools-7.2.0-py3-none-any.whl

Collecting prompt-toolkit<4.0.0,>=3.0.3

  Using cached prompt_toolkit-3.0.4-py3-none-any.whl (351 kB)

Collecting colorama<1.0.0,>=0.2.7

  Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)

Collecting frida<13.0.0,>=12.8.12

  Using cached frida-12.8.18.tar.gz (7.2 kB)

Collecting pygments<3.0.0,>=2.0.2

  Using cached Pygments-2.6.1-py3-none-any.whl (914 kB)

Collecting wcwidth

  Using cached wcwidth-0.1.9-py2.py3-none-any.whl (19 kB)

Building wheels for collected packages: frida

  Building wheel for frida (setup.py) ... error

  ERROR: Command errored out with exit status 1:

   command: 'C:\Users\keshk\anaconda3\envs\py3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\keshk\\AppData\\Local\\Temp\\pip-install-wvfcn1m9\\frida\\setup.py'"'"'; __file__='"'"'C:\\Users\\keshk\\AppData\\Local\\Temp\\pip-install-wvfcn1m9\\frida\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\keshk\AppData\Local\Temp\pip-wheel-rktrjx40'

       cwd: C:\Users\keshk\AppData\Local\Temp\pip-install-wvfcn1m9\frida\

  Complete output (13 lines):

  running bdist_wheel

  running build

  running build_py

  creating build

  creating build\lib.win-amd64-3.7

  creating build\lib.win-amd64-3.7\frida

  copying frida\core.py -> build\lib.win-amd64-3.7\frida

  copying frida\__init__.py -> build\lib.win-amd64-3.7\frida

  running build_ext

  error: HTTP Error 503: Backend is unhealthy

  looking for prebuilt extension in home directory, i.e. C:\Users\keshk/frida-12.8.18-py3.7-win-amd64.egg

  prebuilt extension not found in home directory, will try downloading it

  querying pypi for available prebuilds

  ----------------------------------------

  ERROR: Failed building wheel for frida

  Running setup.py clean for frida

Failed to build frida

Installing collected packages: wcwidth, prompt-toolkit, colorama, frida, pygments, frida-tools

    Running setup.py install for frida ... error

    ERROR: Command errored out with exit status 1:

     command: 'C:\Users\keshk\anaconda3\envs\py3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\keshk\\AppData\\Local\\Temp\\pip-install-wvfcn1m9\\frida\\setup.py'"'"'; __file__='"'"'C:\\Users\\keshk\\AppData\\Local\\Temp\\pip-install-wvfcn1m9\\frida\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\keshk\AppData\Local\Temp\pip-record-j3joqp7m\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\keshk\anaconda3\envs\py3\Include\frida'

         cwd: C:\Users\keshk\AppData\Local\Temp\pip-install-wvfcn1m9\frida\

    Complete output (13 lines):

    running install

    running build

    running build_py

    creating build

    creating build\lib.win-amd64-3.7

    creating build\lib.win-amd64-3.7\frida

    copying frida\core.py -> build\lib.win-amd64-3.7\frida

    copying frida\__init__.py -> build\lib.win-amd64-3.7\frida

    running build_ext

    error: HTTP Error 503: Backend is unhealthy

    looking for prebuilt extension in home directory, i.e. C:\Users\keshk/frida-12.8.18-py3.7-win-amd64.egg

    prebuilt extension not found in home directory, will try downloading it

    querying pypi for available prebuilds

    ----------------------------------------

ERROR: Command errored out with exit status 1: 'C:\Users\keshk\anaconda3\envs\py3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\keshk\\AppData\\Local\\Temp\\pip-install-wvfcn1m9\\frida\\setup.py'"'"'; __file__='"'"'C:\\Users\\keshk\\AppData\\Local\\Temp\\pip-install-wvfcn1m9\\frida\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\keshk\AppData\Local\Temp\pip-record-j3joqp7m\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\keshk\anaconda3\envs\py3\Include\frida' Check the logs for full command output.

모의해킹 frida android

답변 1

1

김태영

안녕하세요. 보안프로젝트 김태영입니다.

동일한 python 3.7.7 버전으로 설치 테스트한 결과, 정상 설치되는 것을 확인하였습니다.

아마 설치된 파이썬 문제로 보입니다. 이러한 증상이 새로 생성한 conda 가상환경에서도 발생한다면,

로컬 컴퓨터에 설치된 파이썬 프로그램(아나콘다 포함)을 모두 삭제 후 재부팅&재설치 부탁드립니다.

혹시나 해결이 안되신다면 말씀해주세요.

jadx에 alert 문구가 없는 경우

0

174

0

프리다 12.6.11 설치 오류

0

486

2

파이썬 바인딩 오류 문의

0

314

2

스크립트를 넣으면 에러가 발생합니다.

0

308

1

프리다랩 8번 질문

0

303

1

프리다를 녹스로 옮기는 과정에서 문제가 생깁니다ㅜㅜ

0

391

2

pip install frida-tools 버전 문제

0

1322

1

Anaconda에서 진행하는 이유

0

295

1

강의 기본 명령어 활용에서

0

509

1

APK, 특정 클래스에서 사용되는 함수의 호출 그래프

0

498

2

chrome.js는 어디서 다운 받나요?

0

427

1

frida 오류..?

0

749

1

질문입니다.

0

819

1

챌린지 02번 문제와 static 메소드 강의 질문 사항

0

421

1

pin brute force 시 앱 종료

0

544

1

frida -U [연결 프로세스] 후 에러

0

2097

1

FRIDA 활용-암호 복호화

0

516

1

프리다랩06번 스크립트 질문

0

658

1

frida sslPinning 질문

1

567

2

java.choose

0

296

1

frida usb 인식

0

398

1

선생님 구글메일로 질문메일 하나보냈습니다 답변부탁드립니다.

0

300

1

get_usb_device 에러 문의

0

729

2

frida-server 파일이 디렉토리로 저장됩니다.

0

631

1