MITM 프록시를 이용한 WebSocket Interceptor 구현 #83
Labels
Category: Browser
Browser related issue
Category: Game Handler
Game handler related issue
Type: Feature request
Request of new feature or function
이 방법의 최대 장점은, 바로 특수한 임베드 브라우저나 Selenium 같은 자동화 프레임워크를 사용하는 대신
사용자가 평상시에도 사용하는 '정상적인 브라우저'의 사이트 단에 직접적으로 스크립트를 삽입하여
그 어떤 '봇 감지' 비슷한 장치들도 쉽게 회피함과 동시에 거의 완벽한 상호운용성을 확보할 수 있다는 것이다.
원리는 AdGuard 등과 같은 '운영 체제 단'에서 동작하는 광고 차단 및 유저스크립트 제공 프로그램들과 완전 동일하다.
https://github.com/eger-geger/FryProxy
https://github.com/jimevans/BenderProxy
자체 MitM 프록시 서버를 구축하여 모든 WebSocket 통신 내용들을 스니핑하여 작동할 수 있는 기능 추가.
MitM 프록시를 이용하여 작동 중일 때는 네이티브 자동 입력만을 사용할 수 있도록 수정.참고: MitM 프록시 사용 구현은 AutoKkutu가 브라우저 측과 그 어떤 직접적 연결도 가지지 않으므로 JavaScript 실행 등의 'AutoKkutu -> 브라우저' 간의 제어가 불가능함. 유일하게 가능한 것은 게임 측에서 사용하는 WebSocket의 MitM을 통한 게임 상태 파악 뿐임. (물론 그것만으로도 AutoKkutu의 대부분의 기능은 동작할 수 있음)생각해 보니까 MitM 프록시를 통해 DOM에 스크립트를 직접 삽입하면 이를 통해 로컬 WebSocket 서버로 통신을 하며 상호작용할 수 있네...?
당장 AdGuard같은 MitM 프록시 기반 광고차단 및 유저스크립트 프로그램 하는 일이 그거니까...
즉, MitM 프록시만으로도 임베드 브라우저 또는 다른 수단을 사용할 때의 기능들 모두를 구현해 낼 수 있다는 말이다.
The text was updated successfully, but these errors were encountered: