2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Turbo intruderでrace conditionを調査する

Last updated at Posted at 2020-07-19

Burp SuiteのTurbo intruderを使用してrace conditionを調査する方法。

  1. BApp StoreからTurbo Intruderを入れる

  2. 大量に送信したいリクエストを1つキャプチャする

  3. Proxy > HTTP historyから当該リクエストを右クリック → Send to turbo intruder

  4. 下記スクリプトを入力 (https://github.com/PortSwigger/turbo-intruder/blob/master/resources/examples/race.py をベースに微修正)

    # script for testing race condition
    def queueRequests(target, wordlists):
        engine = RequestEngine(endpoint=target.endpoint,
                            concurrentConnections=30,
                            requestsPerConnection=100,
                            pipeline=False
                            )
    
        for i in range(30):
            engine.queue(target.req, i, gate='race1')
    
        engine.openGate('race1')
        engine.complete(timeout=60)
    
    def handleResponse(req, interesting):
        table.add(req)
    
  5. リクエストのどこかに %s を入れる (X-Intruder: %s ヘッダ追加など)

  6. Attackボタンをクリック、またはCommand-Enter (Mac)

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?