LoginSignup
1
0

More than 1 year has passed since last update.

Burp Suiteで30Xのリダイレクトをバイパスする

Posted at

ステータスコード302とかでリダイレクトされないようにする。

シチュエーション

今、http://10.10.10.228/portal/php/files.phpのページに行こうとすると、302のステータスコードでindex.phpに飛ばされてしまう:

redirected.png

リダイレクトさせずに、files.phpに行きたい。

Burp SuiteのMatch and Replace

Burp Suiteにて、Proxy > Options > Match and Replaceと選択する:
math_n_replace.png

「Add」をクリックして次のように新規ルールを設定する:
rule.png

今回は302をバイパスするのが目的なので「302 Found」としたが、301または302の両方ともバイパスしたいなら「30[12] Found」と指定したのち、左下にある「Regex match」のボックスにチェックを入れればよい。

再びfiles.phpへアクセスするとリダイレクトされずにそのページが表示された:
ok.png

1
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
1
0