Giter Club home page Giter Club logo

pahe.ph-scraper's Introduction

Pahe.ph-Scraper (Postponed For While)

Pahe.ph Movies Website Scraper https://pahe.ph/

This project i have done from 2 years ago, but i'm reviving the project again cause i'm evil.

Full Documentation (Article)

https://roofman.me/2021/09/03/breaking-scraping-pahe-in/

Features

  • Bypass Surcuri WAF
  • Handle SoraLink & Extract Direct Links
  • Extract Posts in Full Details
  • Decode Download Section Obfuscation
  • Stateful Scraper which support Resume, Failsafe, Looping operations.

ToDo

  • Implementing Cloudflare Bypassing Automatic Mechansims [Not Needed Now]
  • Full Site Test [In Progress]
  • Move From .NET Framework To .NET Core [Not Started]

Contribution

https://github.com/roofman2008/Pahe.ph-Scraper/blob/main/CONTRIBUTING.md

pahe.ph-scraper's People

Contributors

ahmedmubarakfunrock avatar dependabot[bot] avatar roofman2008 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pahe.ph-scraper's Issues

Bypass Sucuri Natively without Selenium

To Bypass Sucuri we need to solve this JavaScript code to extract another code and solve it to get the cookie

Level 1 Obfuscation

This the base JavaScript appear on the browser

<script>
	var s={},u,c,U,r,i,l=0,a,e=eval,w=String.fromCharCode,sucuri_cloudproxy_js='',S='bz0iNCIuc2xpY2UoMCwxKSArICIwc3VjdXIiLmNoYXJBdCgwKSsnOGo3OScuc3Vic3RyKDMsIDEpICsiY3N1Y3VyIi5jaGFyQXQoMCkrU3RyaW5nLmZyb21DaGFyQ29kZSg1MCkgKyAnVnBJNicuc3Vic3RyKDMsIDEpICsiIiArJzYnIC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Y2hhckF0KDApICArJzInKyc4JysnJysnMnN1YycuY2hhckF0KDApKyAnY3N1Y3UnLmNoYXJBdCgwKSAgKydzNScuY2hhckF0KDEpKyI9IiArIG8gKyAnO3BhdGg9LzttYXgtYWdlPTg2NDAwJzsgbG9jYXRpb24ucmVsb2FkKCk7';L=S.length;U=0;r='';var A='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(u=0;u<64;u++){s[A.charAt(u)]=u;}for(i=0;i<L;i++){c=s[S.charAt(i)];U=(U<<6)+c;l+=6;while(l>=8){((a=(U>>>(l-=8))&0xff)||(i<(L-2)))&&(r+=w(a));}}e(r);
</script>

Level 2 Obfuscation

This script is to generate cookie string.

o="4".slice(0,1) + "0sucur".charAt(0)+'8j79'.substr(3, 1) +"csucur".charAt(0)+String.fromCharCode(50) + 'VpI6'.substr(3, 1) +"" +'6' +  'iS6'.charAt(2)+"" +'7' +   '' +''+'6' +  'oSc'.charAt(2)+String.fromCharCode(0x65) + "c".slice(0,1) + 'sDa'.charAt(2)+ '' + 
'b' +   '' +"0su".slice(0,1) + String.fromCharCode(0x66) + 'WeP8'.substr(3, 1) +'nH5'.charAt(2)+"" +"c" +  '' +String.fromCharCode(51) +  '' +'hV3'.charAt(2)+String.fromCharCode(57) + 'Ze'.slice(1,2)+"a" + '6' +  'Na'.slice(1,2)+"3su".slice(0,1) + "bsucur".charAt(0)+ '' +'b' +  'xZ5'.charAt(2)+ '' + 
String.fromCharCode(0x62) +  '' +''+'';document.cookie='ssuc'.charAt(0)+ 'u'+'c'+'sucuu'.charAt(4)+ 'rs'.charAt(0)+'i'+'_suc'.charAt(0)+ 'csucur'.charAt(0)+ 'lsucuri'.charAt(0) + 'o'+''+'usucuri'.charAt(0) + 'd'+'p'+'sur'.charAt(2)+'sucurio'.charAt(6)+'x'+'ysuc'.charAt(0)+ 'sucuri_'.charAt(6)+'u'+''+'u'+'i'+'d'.charAt(0)+'s_'.charAt(1)+'su0'.charAt(2)+'3'.charAt(0)+'3sucur'.charAt(0)+ '9sucu'.charAt(0)  +'2'+'8'+''+'2suc'.charAt(0)+ 'csucu'.charAt(0)  +'s5'.charAt(1)+"=" + o + ';path=/;max-age=86400'; location.reload();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.