Jasper Yu
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
26
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- title: Popcat 台灣 Bot 製作團隊 tags: Popcat, Taiwan, Bot description: Popcat 台灣 Bot 製作團隊 lang: zh_tw --- [TOC] # Popcat 台灣 Bot 製作團隊 已公開程式碼:https://github.com/popclick/popclick 網址:https://popcat.click 歷史狀態:https://grafana.tipsy.coffee/d/ZpkMi6Gnz/popcat-click ![](https://i.imgur.com/AlVDRhB.png) #### 8/14 UPD 進行大規模 code 改動,增加更多 Telemetry Export ![](https://i.imgur.com/ZNMcVDS.png) 讓 100 億目標更快達成 **團隊目前PPS臺灣佔比約97%** #### 8/16 UPD ~~都是我們的三角波~~ ![](https://i.imgur.com/Nj6DlIN.jpg) #### 8/18 UPD ~~已經穩定的都是 ptc0219 的形狀了~~ ![](https://i.imgur.com/AEjj3vX.jpg) ## 網頁運作原理 - 30 秒彙整一次你點的次數傳給伺服器 - 每30秒最多 800 次 - 30 秒內如果使用相同 IP 多次傳送點擊次數給伺服器,將會觸發 Rate Limiter - 會收到 HTTP 429 回應 - **同一台電腦相同 IP 開再多瀏覽器都沒用** - 可利用 ipinfo.io 確認對外 IP,只要是顯示相同的兩台電腦都會被判定為同一台 - 紅眼貓貓代表被判定為 bot,前端點擊結果將不會被後端承認,這個是後端判定的,網路上流傳的「防紅眼」全都是假的,那只是把前端的紅眼 flag 清除而已 - 官方程式碼註解寫得很清楚 - ![](https://i.imgur.com/SahW7Ue.png) ## 自動點擊腳本 1. 按下F12 2. 切到 Console 3. 將下方程式碼貼入後按下 Enter 前端版本(可以在網頁上看到自己點了多少) ```javascript setInterval(()=>{document.dispatchEvent(new Event("keydown"))},38) ``` From ![](https://i.imgur.com/5qPBNY1.png) 後端版本(較穩定、紅眼什麼的不重要,後端有201都是好請求) ```javascript setInterval(()=>{fetch('https://stats.popcat.click/pop?pop_count=800&captcha_token=TWNO1');},30000); ``` From ![](https://i.imgur.com/9AWhnoA.png) ## CF Bypass ![](https://i.imgur.com/V2xNVW2.png) 效果可以達到 40K PPS 以上 PPS Graph by SDTDDH from [https://forum.gamer.com.tw/C.php?bsn=60076&snA=6509210&to=197](https://forum.gamer.com.tw/C.php?bsn=60076&snA=6509210&to=197) 的留言 ![](https://i.imgur.com/mydpdjw.png) ![](https://i.imgur.com/IQwpskV.png) ## 電信小夥伴們的貢獻列表 Original Version with lots of browsers by seadog007 with Shell Script Performance Improve / CF Bypass by James58899 with Javascript | User | CPU Cores | IPs | PPS on Peak | Est Click (before 8/18) | Join Time +8 | | ------------- | ---------- | --------- | -------------- | ------------- | ------------ | | seadog007 | 80 | 20000 | 80K | 30,000,000,000 | 8/11 07:00 | | james58899 | 8 | 10000 | 60K | 10,000,000,000 | 8/11 22:00 | | Haraguroicha | 40 | 12300 | 60K | 10,000,000,000 | 8/12 01:30 | | ptc0219 | 40 | 17800 | 60K | 40,000,000,000 | 8/12 02:00 | | da21510 | 24 | 12300 | 60K | 10,000,000,000 | 8/12 03:00 | | licson | 80 | 20000 | 245K | n/a | 8/19 03:30 | Due to the server performance issue, the submits are only partial vaild. Total Cap: 1400K PPS Peak Performance 335.1K PPS Server Avg Process Speed: 50K PPS 8/10~11 Graph by SDTDDH ![](https://i.imgur.com/o1cf5AE.png) 8/11 Graph by SDTDDH ![](https://i.imgur.com/qnzfDSB.png) > 覺得是手點/連點器點的有沒有好好算過這個 PPS 要多少 IP 才能達成? > [name=seadog007] 關 Bot 後的 PPS,比馬來還低,約 1.2KPPS ![](https://i.imgur.com/2sDRjpL.png) ## Analysis ![](https://i.imgur.com/lWu3yib.png) **要嘛是後端沒寫好,要嘛是有控速,從 Client 來算後端有 Vaild 的 Click(201) 絕對超過 Leaderboard 的 Click** > UPD: 看起來比較像卡C10K > [name=seadog007] Project author response ![](https://i.imgur.com/TGmEnzW.png) From Twitter Log by Hans Chiu ![](https://i.imgur.com/PrmjsRz.png) ![](https://i.imgur.com/SqvW3i1.png) ![](https://i.imgur.com/05Bv6uK.png) # Popdog 網址:https://popdog.click ## 網頁運作原理 - 進入網頁後會先去 api 抓 uuid 回來,那是代表你的帳號,如果沒有存下他給的網址或 QR Code ,那你換裝置不能斷點續點 - 要你輸入名字,那是 leaderboard 有 by user 的統計功能顯示使用 - 每 30s 極限值 2000,不管超過多少也都只算你 2000 - 同一組 uuid 不同 IP 進去不會比較快,他 by uuid 在看的 - 不定時的會有 x10 狗糧出現,點了狗糧啟動 x10 click 功能 - 至少 > 5s delay 的 request 才會被計算,否則他會丟棄計算 - rate limiter - 10s 內 > 3 requests 疑似會被 nginx 的 rate limiter 給丟去晾著 - header response 有寫 limit 100 remain 99 reset after 3m 但完全沒辦法拿來參考用,因為他還是會先卡 nginx rate limiter - 戳太快到一定程度會整個 CIDR 被 ban 掉,導致 TCP 不會通 - 不存在 cloudflare bypass 問題,因為他直接 Linode 灑出來放 # Popass 網址:https://popass.click 歷史圖表:https://grafana.tipsy.coffee/d/xMYU6cn7z/popass-click ## 網頁運作原理 - 他的前端其實就是 popcat 的砍站修改版本 - popcat 的 pop limit 是 800 但他改了 1000 - 後端 api 是用 PHP 寫到爛掉的,丟 request 進去他回傳 204 但是他卻還在用 popcat 的抓 Location 的結構處理 - 存在 bypass cloudflare 問題,但是他 429 的觸發比 popcat 更謎,延時拉到了比 popcat 更長五倍的等待一樣 429 會撞到 # Poppig 網址:https://poppig.click 歷史圖表:https://grafana.tipsy.coffee/d/w4rLph77k/poppig-click ## 網頁運作原理 - 和 Popdog 很類似,他先取得 UUID 當帳號,但他沒有 by user leaderboard 所以不用取名字,然後也沒有所謂的個人斷點續點功能 - 用 UUID 去抓 token 然後後面全部都用 token 去發請求 - pop limit 是 10s + 800 pop max,請求太快他會回應 resp.json().status = 102 (429 的意思),如果拿到 token 之後小於 10s 內請求 pop 則會是 resp.json().status = 101 (503 的意思),其餘請求原則上只要他沒辦法回應就是 resp.json().status = 100 (大概是 500 的意思) - leaderboard 結構很接近 popcat 但是他後端先幫你算好了 pps 和 lastupdated 資料,所以他的 pps 比較準確一點,比較不會爆衝,但是我們用不到他的 pps 因為他算的不是很精準 - 他一樣有用 Cloudflare 所以一樣要 bypass - IP 判斷上很蠢,打一打就跑出了 `local` 這個國家?????? ![](https://i.imgur.com/wNpl0zu.jpg) - 由於流程上他多了很多前置步驟,所以打起來速度並沒有很理想,剛開始寫的 memory leak 版本大概跑五分鐘就會炸掉,但是成績很顯著的成長,後面修改好的版本就成長很緩慢,所以持續優化中 ![](https://i.imgur.com/44j6YI3.png) # 團隊成員寫的暴力 Bot Source Code (private invite only) 已公開程式碼:https://github.com/popclick/popclick - https://github.com/james58899/popcat_clicker - https://github.com/Haraguroicha/popcat-dashboard (cat, dog, ass, pig 全都通用的共用版本) - https://github.com/ptc0219/coscat - https://github.com/ptc0219/popdog

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully