LoginSignup
0
0

More than 5 years have passed since last update.

Online Compilerについて

Posted at

Online Compilerについて

サイト構築で、オンラインでコード入力とオンラインコンパイルをする必要があって、いろいろ調べながら自分の懸念も書いて起きます

Security issue

  • システムコールで環境、コマンド実行が可能じゃないか
# pathの内容が丸見え
import os
print os.getenv('PATH')

# user detial
import subprocess
print subprocess.check_output(['id'])
  • bridgeになる可能性は
# url 訪問するか
import urllib.request
print urllib.request.urlopen('http://template.com')
  • 言語バージョンの脆弱性をつく攻撃

既存のサービスがとっている体制

Codepad

その他

  • Virus制作
# 簡単な例
無駄なバイトを生成するviursを作った場合どうなる、65535 * 10^10 bit
  • ... (思いついたら書く)
0
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
0
0