What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Request WEBSITE PHP TERMUX TUTURIAL

YOVICPAW

Honorary Poster
Joined
Dec 7, 2015
Messages
597
Reaction
196
Good Day!!!!

Miron lang poh ang tanong if miron ddto marunong,
Sana po miron mag post ng Thread about sa pag gawa ng Termux Script "bot at config sa website using HTTP CANARY or mag post ng patern script i develope nalang sa gustong matuto tulad ko alam ko dinato bago sa inyo. Maraming salamat sa mag Post
Godbless
 

YOVICPAW

Honorary Poster
i know, but W H A T ?
like simple naman gumawa ng php bot script. no need ng advance shit. basic lang. kung gusto mo ng advance scripting then yun yung mahirap
ya basic lang poh, nakagawa kana ng termux bot script sa mga website na paying ? if miron ma'am post kanaman
 
Comment

YOVICPAW

Honorary Poster
Sana nga meron, si google lng nag turo sakin
Boss miron kang nakita na patern script for website puro kasi application mga nakikita ko eh masmaganda kog sa website gawan ng script dami ding legit sa web kisa sa mga application lang
 
Comment

Flavored

Honorary Poster
Boss miron kang nakita na patern script for website puro kasi application mga nakikita ko eh masmaganda kog sa website gawan ng script dami ding legit sa web kisa sa mga application lang
di ko alam ano ibigsabin sa "patern script".
pero parang same lang naman yata sa web at app, basta makuha mo lng yung POST/GET ng API
 
Comment

Chen Zhen

Eternal Poster
ya basic lang poh, nakagawa kana ng termux bot script sa mga website na paying ? if miron ma'am post kanaman
learn mo lang yung basic networking ng language gusto mong gamitin. for example: php, python, perl, ruby, etc.
then, using network sniffing tools like http canary, wireshark, and charles proxy(ito yung gamit ko since mas madali sya). sometimes gamit lang ako ng console browser sa firefox/chrome.
kung alam mo na paano mag forge ng request through GET or POST method, oras na rin na matutunon mo paano gumamit ng cookies(ung config na sinabi) at headers.

ang mahirap lang nito ay yung anti bot ng website like google's recaptcha. tapos yung hashed request din. karamihan kung app gamitin mo like buzzbreak, cashzine, snippetmedia, or ibang cryptocurrency earning apps, meron silang encrypted packets ng data na kailangan mo pang e decode. kung gusto mo ma decode, either decompile ung app or gamit ka ng mathematics.

yung sa sunod naman ay yung proxies na gamitin, recommendations lang ito pero hindi naman dapat kailangan.

mag depende rin yan for every website, etc. merong iba na chainged request yung POST/GET method, yung iba tag isa isa lang kaya simple.

kung tapos na yung backend/core code mo, punta ka na sa frontend like designs or etc(hindi ako magaling dito hahaha) basta, yung madali lang maintindihan ng users

important parts lang nito ay yung: POST/GET method requests, cookies, headers, scripting language para ma automate mo. take note na may iba rin na no need yung cookies/headers. kung may makita ka na ganito sa site, red flag yan na scam yung site kasi walang bobong engr na may loophole sa system nila

kagaya ng miningph na ginawan ko ng python script at website tool, red flag na scam/hindi legit
 
Comment

Chen Zhen

Eternal Poster
oh btw, wala akong guide/tutorial na ginamit. puro lang talaga google search at stackoverflow hahahah since yung YôùTùbé tutorials ay iba. tapos hindi ako mahilig sa mga video tutorials, prefer ko yung text based at image lang.

sa totoo lang, nag skim through lang ako tapos wala talaga akong alam sa coding. kahit ganito, kaya parin ma gawan ng autoscript.

tapos, alam mo naman kung ano si Termux di ba? kung di mo alam, hmm.... di ko alam kung makaya mo ito sa isang araw.
 
Comment

Flavored

Honorary Poster
ito gamit kong tool sa pc para masmadali mag write ng script.

WebSpy (lYou do not have permission to view the full content of this post. Log in or register now.) browser extension minomonitor nya yung mga Request sa browser, pay built in na ganyan yung mga browser pero mas malinis tignan yung WebSpy


PostMan (You do not have permission to view the full content of this post. Log in or register now.) meron yang feature na kaya nyang e conver yung Request Headers,Request body in to code (php,ruby,phyton,javascript, etc.)
 
Comment

YOVICPAW

Honorary Poster
learn mo lang yung basic networking ng language gusto mong gamitin. for example: php, python, perl, ruby, etc.
then, using network sniffing tools like http canary, wireshark, and charles proxy(ito yung gamit ko since mas madali sya). sometimes gamit lang ako ng console browser sa firefox/chrome.
kung alam mo na paano mag forge ng request through GET or POST method, oras na rin na matutunon mo paano gumamit ng cookies(ung config na sinabi) at headers.

ang mahirap lang nito ay yung anti bot ng website like google's recaptcha. tapos yung hashed request din. karamihan kung app gamitin mo like buzzbreak, cashzine, snippetmedia, or ibang cryptocurrency earning apps, meron silang encrypted packets ng data na kailangan mo pang e decode. kung gusto mo ma decode, either decompile ung app or gamit ka ng mathematics.

yung sa sunod naman ay yung proxies na gamitin, recommendations lang ito pero hindi naman dapat kailangan.

mag depende rin yan for every website, etc. merong iba na chainged request yung POST/GET method, yung iba tag isa isa lang kaya simple.

kung tapos na yung backend/core code mo, punta ka na sa frontend like designs or etc(hindi ako magaling dito hahaha) basta, yung madali lang maintindihan ng users

important parts lang nito ay yung: POST/GET method requests, cookies, headers, scripting language para ma automate mo. take note na may iba rin na no need yung cookies/headers. kung may makita ka na ganito sa site, red flag yan na scam yung site kasi walang bobong engr na may loophole sa system nila

kagaya ng miningph na ginawan ko ng python script at website tool, red flag na scam/hindi legit
Hahaha thank you mam miron na talaga akong ginawa na code kaso daming debug website hindi ko makuha yong tamang data na kailangan ko
 
Comment

YOVICPAW

Honorary Poster
learn mo lang yung basic networking ng language gusto mong gamitin. for example: php, python, perl, ruby, etc.
then, using network sniffing tools like http canary, wireshark, and charles proxy(ito yung gamit ko since mas madali sya). sometimes gamit lang ako ng console browser sa firefox/chrome.
kung alam mo na paano mag forge ng request through GET or POST method, oras na rin na matutunon mo paano gumamit ng cookies(ung config na sinabi) at headers.

ang mahirap lang nito ay yung anti bot ng website like google's recaptcha. tapos yung hashed request din. karamihan kung app gamitin mo like buzzbreak, cashzine, snippetmedia, or ibang cryptocurrency earning apps, meron silang encrypted packets ng data na kailangan mo pang e decode. kung gusto mo ma decode, either decompile ung app or gamit ka ng mathematics.

yung sa sunod naman ay yung proxies na gamitin, recommendations lang ito pero hindi naman dapat kailangan.

mag depende rin yan for every website, etc. merong iba na chainged request yung POST/GET method, yung iba tag isa isa lang kaya simple.

kung tapos na yung backend/core code mo, punta ka na sa frontend like designs or etc(hindi ako magaling dito hahaha) basta, yung madali lang maintindihan ng users

important parts lang nito ay yung: POST/GET method requests, cookies, headers, scripting language para ma automate mo. take note na may iba rin na no need yung cookies/headers. kung may makita ka na ganito sa site, red flag yan na scam yung site kasi walang bobong engr na may loophole sa system nila

kagaya ng miningph na ginawan ko ng python script at website tool, red flag na scam/hindi legit
Sa mga na mention mo na tool parang ang mas maganda gamitin eh yong http canary salamat parin
 
Comment

YOVICPAW

Honorary Poster
ito gamit kong tool sa pc para masmadali mag write ng script.

WebSpy (lYou do not have permission to view the full content of this post. Log in or register now.) browser extension minomonitor nya yung mga Request sa browser, pay built in na ganyan yung mga browser pero mas malinis tignan yung WebSpy


PostMan (You do not have permission to view the full content of this post. Log in or register now.) meron yang feature na kaya nyang e conver yung Request Headers,Request body in to code (php,ruby,phyton,javascript, etc.)
Pahinge naman ng example code mo boss yong miron ng data na nakuha ako nalang mag debug or pag aralan ko kong anong data na kinukuha mo sa website thanks if miron
 
Comment

Flavored

Honorary Poster
Pahinge naman ng example code mo boss yong miron ng data na nakuha ako nalang mag debug or pag aralan ko kong anong data na kinukuha mo sa website thanks if miron
my sample code ako sa sa Milio.io (social media) mag register ka muna bago mo e try
itong site na pili ko kasi madali lng, json yung return kaya ezng ez , kung html yung return medyo mahirap kakatamad mag regex

feature:
auto like
auto add friend
auto post

pero itong sample code hangang pag login at get lng ng newsfeed ikaw na bahala sa iba haha

PHP:
<?php

    $email = "email mo dito";
    $password = "password mo";
    $bearer = ""; // access token
    $uid = ""; // user ID

    //paramenters ng newsfeed
    $limit = 2; // 1 - 1000 or greater
    $page = 1;

    function login(){
        global $uid, $bearer,$email,$password;

        $curl = curl_init();

        curl_setopt_array($curl, array(
        CURLOPT_URL => "https:///milio-api.rightsledger.global/service-core-milio/api/v1/user/login",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 0,
        CURLOPT_FOLLOWLOCATION => true,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "POST",
        CURLOPT_POSTFIELDS =>"{\r\n    \"password\": \"$password\",\r\n    \"email\": \"$email\"\r\n}",
        CURLOPT_HTTPHEADER => array(
            "accept:  application/json, text/plain, */*",
            "origin:  https://milio.io",
            "user-agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36",
            "Content-Type: application/json",
            "sec-fetch-site:  same-site",
            "sec-fetch-mode:  cors",
            "referer: https://milio-api.rightsledger.global/auth",
            "accept-language:  en-US,en;q=0.9"
        ),
        ));

        $response = curl_exec($curl);
        curl_close($curl);
      

        $res = json_decode($response,true);
      
        $bearer = $res['data']['access_token']; // new access token
        $uid = $res['data']['_id']; // new User ID

        echo "\n";
        echo "Eto yung return ng API";
        echo "\n";
        print_r($res);

        echo "\n";
        echo "=========================================================";
        echo "\n";
        echo "eto naman yung access token mo \n\n";
        echo $bearer;
        echo "\n";


        //action after login
        newsfeed(); // lahat ng post sa neewsfeed mo
    }

    function newsfeed(){
        global $uid,$bearer,$limit,$page; //dapat dala mo lagi si bearer


        $curl = curl_init();

        curl_setopt_array($curl, array(
        CURLOPT_URL => "https:///milio-api.rightsledger.global/service-core-milio/api/v2/newsfeed/query?limit=$limit&page=$page",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 0,
        CURLOPT_FOLLOWLOCATION => true,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "POST",
        CURLOPT_POSTFIELDS =>"{\r\n    \"userId\": \"$uid\"\r\n}",
        CURLOPT_HTTPHEADER => array(
            "accept:  application/json, text/plain, */*",
            "origin:  https://milio.io",
            "authorization:  Bearer $bearer", //access token here!!!!!
            "accept-language:  en-US,en;q=0.9",
            "user-agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36",
            "Content-Type: application/json",
            "sec-fetch-site:  same-site",
            "sec-fetch-mode:  cors",
            "referer:  https://milio-api.rightsledger.global/"
        ),
        ));
  
        $response = curl_exec($curl);
  
        curl_close($curl);
  
        $res = json_decode($response,true);

        echo "\n\n";
        echo "==========================================\n";
        echo "return ng newsfeed\n\n";

        print_r($res);

        echo "ikaw na bahala!!";
    }


    login();

?>
 
Comment

YOVICPAW

Honorary Poster
my sample code ako sa sa Milio.io (social media) mag register ka muna bago mo e try
itong site na pili ko kasi madali lng, json yung return kaya ezng ez , kung html yung return medyo mahirap kakatamad mag regex

feature:
auto like
auto add friend
auto post

pero itong sample code hangang pag login at get lng ng newsfeed ikaw na bahala sa iba haha

PHP:
<?php

    $email = "email mo dito";
    $password = "password mo";
    $bearer = ""; // access token
    $uid = ""; // user ID

    //paramenters ng newsfeed
    $limit = 2; // 1 - 1000 or greater
    $page = 1;

    function login(){
        global $uid, $bearer,$email,$password;

        $curl = curl_init();

        curl_setopt_array($curl, array(
        CURLOPT_URL => "https:///milio-api.rightsledger.global/service-core-milio/api/v1/user/login",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 0,
        CURLOPT_FOLLOWLOCATION => true,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "POST",
        CURLOPT_POSTFIELDS =>"{\r\n    \"password\": \"$password\",\r\n    \"email\": \"$email\"\r\n}",
        CURLOPT_HTTPHEADER => array(
            "accept:  application/json, text/plain, */*",
            "origin:  https://milio.io",
            "user-agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36",
            "Content-Type: application/json",
            "sec-fetch-site:  same-site",
            "sec-fetch-mode:  cors",
            "referer: https://milio-api.rightsledger.global/auth",
            "accept-language:  en-US,en;q=0.9"
        ),
        ));

        $response = curl_exec($curl);
        curl_close($curl);
      

        $res = json_decode($response,true);
      
        $bearer = $res['data']['access_token']; // new access token
        $uid = $res['data']['_id']; // new User ID

        echo "\n";
        echo "Eto yung return ng API";
        echo "\n";
        print_r($res);

        echo "\n";
        echo "=========================================================";
        echo "\n";
        echo "eto naman yung access token mo \n\n";
        echo $bearer;
        echo "\n";


        //action after login
        newsfeed(); // lahat ng post sa neewsfeed mo
    }

    function newsfeed(){
        global $uid,$bearer,$limit,$page; //dapat dala mo lagi si bearer


        $curl = curl_init();

        curl_setopt_array($curl, array(
        CURLOPT_URL => "https:///milio-api.rightsledger.global/service-core-milio/api/v2/newsfeed/query?limit=$limit&page=$page",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 0,
        CURLOPT_FOLLOWLOCATION => true,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "POST",
        CURLOPT_POSTFIELDS =>"{\r\n    \"userId\": \"$uid\"\r\n}",
        CURLOPT_HTTPHEADER => array(
            "accept:  application/json, text/plain, */*",
            "origin:  https://milio.io",
            "authorization:  Bearer $bearer", //access token here!!!!!
            "accept-language:  en-US,en;q=0.9",
            "user-agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36",
            "Content-Type: application/json",
            "sec-fetch-site:  same-site",
            "sec-fetch-mode:  cors",
            "referer:  https://milio-api.rightsledger.global/"
        ),
        ));
  
        $response = curl_exec($curl);
  
        curl_close($curl);
  
        $res = json_decode($response,true);

        echo "\n\n";
        echo "==========================================\n";
        echo "return ng newsfeed\n\n";

        print_r($res);

        echo "ikaw na bahala!!";
    }


    login();

?>
Thanks dito boss
 
Comment

Like us on facebook

Online statistics

Members online
1,520
Guests online
1,172
Total visitors
2,692

Forum statistics

Threads
767,867
Messages
15,192,709
Members
1,410,188
Top