ระบบตัดบัตร TrueMoney ใช้ไฟล์ class ไฟล์เดียว ( TrueMoney Wallet )

เริ่มโดย xindy, 06 มิถุนายน 2017, 22:48:34

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

mikedeathnote

ลองแล้วครับ คือเหมือนล็อครหัสตัวเองจาก ในหน้า แล้วให้ลูกค้ากดใส่บัตร จะโดนแฮ็คใหมเนี้ย ประเด็น

mikedeathnote


SSpeed

อ้างถึงจาก: mikedeathnote ใน 14 มิถุนายน 2017, 18:06:13
ลองแล้วครับ คือเหมือนล็อครหัสตัวเองจาก ในหน้า แล้วให้ลูกค้ากดใส่บัตร จะโดนแฮ็คใหมเนี้ย ประเด็น

เบิก ถอน โอน ยังต้องใช้ otp อยู่นะครับ

nukerman

อ้างถึงจาก: mikedeathnote ใน 14 มิถุนายน 2017, 18:06:13
ลองแล้วครับ คือเหมือนล็อครหัสตัวเองจาก ในหน้า แล้วให้ลูกค้ากดใส่บัตร จะโดนแฮ็คใหมเนี้ย ประเด็น

Post แค่รหัสบัตรไปจะโดนแฮ็คได้ไง อ่ะครับ

sevenr


xindy

เพิ่มเติมหากต้องการล๊อคอินด้วย PIN

Username ใส่ เบอร์โทร
Password ใส่ รหัส 4 หลักที่เราตั้งไว้
type ใส่เป็น mobile
อ้างถึง
$wallet = new TrueWallet('YOUR EMAIL','YOUR PASSWORD','email');
OR
$wallet = new TrueWallet('YOUR PHONNUMBER','YOUR PIN','mobile');
อ้างถึง
<?php
class TrueWallet{
   public  $username;
   public  $password;
   public  $login_type;
   private $passhash;
   //Config TrueWallet ห้ามแก้ไขหากไม่รู้ค่าที่แท้จริง
   private $api_signin = "https://api-ewm.truemoney.com/api/v1/signin?&";
   private $api_profile = "https://api-ewm.truemoney.com/api/v1/profile/";
   private $api_topup = "https://api-ewm.truemoney.com/api/api/v1/topup/mobile/";
   private $device_os = "android";
   private $device_id = "d520d0d12d0d48cb89394905168c6ed5";
   private $device_type = "CPH1611";
   private $device_version = "6.0.1";
   private $app_name = "wallet";
   private $app_version = "2.9.14";
   private $deviceToken = "fUUbZJ9nwBk:APA91bHHgBBHhP9rqBEon_BtUNz3rLHQ-sYXnezA10PRSWQTwFpMvC9QiFzh-CqPsbWEd6x409ATC5RVsHAfk_-14cSqVdGzhn8iX2K_DiNHvpYfMMIzvFx_YWpYj5OaEzMyIPh3mgtx";
   private $mobileTracking = "dJyFzn\/GIq7lrjv2RCsZbphpp0L\/W2+PsOTtOpg352mgWrt4XAEAAA==";
   //End Config
   
   public function __construct($user,$pass,$type) {
      $this->username = $user;
      $this->password = $pass;
      $this->login_type = $type;
      $this->passhash = sha1($user.$pass);
   }
   public function GetToken(){
      $url = $this->api_signin.'device_os='.$this->device_os.'&device_id='.$this->device_id.'&device_type='.$this->device_type.'&device_version='.$this->device_version.'&app_name='.$this->app_name.'&app_version='.$this->app_version;
      $header = array(
         "Host: api-ewm.truemoney.com",
         "Content-Type: application/json"
      );
      $postfield = array(
         "username"=>$this->username,
         "password"=>$this->passhash,
         "type"=>$this->login_type,
         "deviceToken"=>$this->deviceToken,
         "mobileTracking"=>$this->mobileTracking,
      );
      $data_string = json_encode($postfield);
      
      return $this->wallet_curl($url,$data_string,$header);
   }
   public function Profile($token){
      $url = $this->api_profile.$token.'?&device_os=android&device_id='.$this->device_id.'&device_type='.$this->device_type.'&device_version='.$this->device_version.'&app_name='.$this->app_name.'&app_version='.$this->app_version;
      $header = array("Host: api-ewm.truemoney.com");
      return $this->wallet_curl($url,false,$header);
   
   }
   public function Topup($cashcard,$token){
      $url = $this->api_topup.time()."/".$token."/cashcard/".$cashcard;
      $header = array("Host: api-ewm.truemoney.com");
      return $this->wallet_curl($url,true,$header);
   }
   
   private function wallet_curl($url,$data,$header){   
      $ch = curl_init();
      curl_setopt($ch,CURLOPT_URL,$url);
      curl_setopt($ch,CURLOPT_HTTPHEADER,$header);
      curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,false);
      curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);  
      if($data){
         curl_setopt($ch,CURLOPT_CUSTOMREQUEST, "POST");                                                                    
         curl_setopt($ch,CURLOPT_POSTFIELDS, $data);        
      }                                  
      curl_setopt($ch,CURLOPT_RETURNTRANSFER, true);  
      curl_setopt($ch,CURLOPT_USERAGENT,'');
      $result = curl_exec($ch);
      return $result;
   }
}
?>

xindy

เพิ่มเติม https://github.com/xeleniumz/TrueWallet
TrueWallet

TrueWallet library For Node.js
PHP Version & Credit

visit this repository for php version https://github.com/exzajung/class.truewallet.php
System requirement

    babel transpiler
    node.js version 7.10 or higher
    request-promise-native Simplified HTTP request client for node.js package
    moment time management time management for node.js package

How to use

    install require package
    import this library to your controller
    send request data with post to endpoint and Enjoy !!

Debugging

There are at least three ways to debug the operation of request: Launch the node process like NODE_DEBUG=request node script.js (lib,request,otherlib works too). Set require('request').debug = true at any time Use the request-debug module to view request and response headers and bodies.

jakky

ใครเป็นโค้ด เขียนเป็นปลั๊กอินขาย รวยเลยน่ะเนี้ย

kasamsen

 :-* :-* :-*   อือหือ   เจอของดีเข้าให้ กำลังหัดเขียนโค๊ด และก็ ลองทำระบบ อันนี้เล่นพอดีเลยครับพอดีจะเอาไว้ให้ลูกค้าใช้
ขอบคุณ ท่านๆมากครับ  เด่วขอลอง test แปบครับ  เยี่ยมไปเลย 

ขอบพระคุณอีกครั้งครับ

mundee55

ตอนนี้ API ชุดนี้ใช้ไม่ได้ละ

แนะนำครับ

https://www.tmweasy.com/

ไม่ต้องทำสคิปเองเขามีบริการทำให้ API อัพเดทพร้อมใช้งานตลอดเวลา
ยอมจ่ายนิดหน่อยไม่แพงครับแต่คุ้มไม่ต้องมานั่งปวดหัว

AbuseMan

โค้ดชุดนี้ยังใช้ได้ปกติ ไม่ต้องไปเสียค่าต๋งให้คนกลางอีก
█ [direct=https://radio.sukson.com]ฟังเพลงออนไลน์[/direct] : เว็บเพลงออนไลน์ที่คุณขอฟังเพลงได้ด้วยตัวคุณเอง
█ [direct=https://chat.sukson.com]ห้องแชท[/direct] : บริการฟรีห้องแชทสำหรับติดเว็บ
█ [direct=https://music.sukson.com]เพลงใหม่[/direct] : เพลงใหม่ เพลงฮิต
█ [direct=https://bankumka.com]บ้านคุ้มค่า[/direct] : ลงประกาศขายบ้าน ที่ดิน พร้อมอัพเดทโครงการบ้านและคอนโดใหม่ที่น่าสนใจ

steelseries

ว้าวเลยเจอโพสนี้

เมือก่อนเห็นใน github นานแล้วล่ะ แต่ไม่รู้ TrueWallet คืออะไร แต่ทุกวันนี้ใช้ง่ายจ่ายคล่องเงินออกเอาออกเอาเลย  :wanwan001:


noynic

07/05/2562
ปัจจุบันสคิปนี้ไม่มีบน GitHub แล้วครับ
น่าจะใช้งานไม่ได้แล้วนะครับ :wanwan031: :wanwan031:


tarllovemint

ยังใช้งานได้ปกติ

เช็คยอด , เติมนยอด , เช็ครายการ

https://freeani.me/_truewallet
[direct=https://speed-manga.com]อ่านมังงะ[/direct]

try2hack

hxxps://mobile-api-gateway.truemoney.com

เหมือนเดิม แต่ใช้ไม่ได้ ใครมันอันที่แก้แล้วมั่งครับ ขอหน่อย
[direct= *Link Removed* ]เมเปิ้ลเถื่อน[/direct]