Changes in title
+[忘備録]グローバルIPをcurlで確認
Changes in tags
コマンド
以下、どれでもOK
$ curl httpbin.org/ip
$ curl inet-ip.info
$ curl ifconfig.me # 遅い気がする
サーバとのやり取りの表示 ( -v, --verbose )
$ curl -v httpbin.org/ip
cf) curlの使い方
↓verboseな情報だけ見たいとき
$ curl -v httpbin.org/ip > /dev/null
参考リンクなど
サーバから外に出ていく時のグローバルIPをコマンドで調べる
↓http request の レスポンスを JSON で返してくれるサイト
httpbin(1): HTTP Client Testing Service
↓プライベートIPとグローバルIPの説明とか
34.私のハッキングはなぜバレるのか。whoisコマンド。nslookupコマンド。ifconfigコマンド。