Skip to content

Instantly share code, notes, and snippets.

@gaplo917
Created Apr 21, 2017
Embed
What would you like to do?
GoBee.bike Credit Card check script
// http://54.169.33.162:8088/GobeeBike/app/
function checkMyCreditCard(phone, password) {
fetch('login?industryType=3&requestType=10001&phone=' + phone + '&password=' + password, {
method: 'get'
})
.then(resp => resp.json())
.then(response => {
let token = response.data.token
if(!token) throw 'You have entered a wrong phone/password!'
return fetch('user?requestType=20008&token=' + token, {
method: 'get'
})
.then(resp => resp.json())
.then(response => {
let cardList = response.data && response.data.cardList
console.warn(`發現信用卡${cardList.length}張,若果顯示信用卡資料如 card_number, cvv, exp_date, name_on_card 為你的信用卡資料,這代表你己成為受害者之一`)
console.table(cardList)
})
})
.catch(console.warn)
}
var phone = "THIS_IS_YOUR_PHONE"
var password = "THIS_IS_YOUR_LOGIN_PASSWORD"
checkMyCreditCard(phone, password)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment