当前位置:网站首页>[wp][introduction] brush weak type questions
[wp][introduction] brush weak type questions
2022-07-05 03:47:00 【_ Xiao SA】
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
$a = $_GET['param1'];
$b = $_POST['param2'];
$c = $_GET['param3'];
$d = $_POST['param4'];
if($a!==$b && md5($a)===md5($b) && $c!==$d && sha1($c)===sha1($d)){
echo $flag2;
die(" xiu_er_!!");
}else{
echo "fail";
}
?>
2.
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
if(isset($_GET['param1'])){
$a = $_GET['param1'];
switch ($a) {
case $a>=0:
echo 0;
break;
case $a>=10:
echo $flag3;
break;
default:
echo 2;
break;
}
}
?>
?param1=0
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
if(isset($_GET['param1'])){
$a = $_GET['param1'];
switch ($a) {
case $a>=0:
echo 0;
break;
case $a>=10:
echo $flag3;
break;
default:
echo 2;
break;
}
}
?>
?param1=0
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
$msg = json_decode($_GET['param1']);
if($msg->key == $key){
echo $flag5;
die(" xiu_er_!!");
}else{
echo "fail";
}
?>
?param1={“key”:0}
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
$s = $_GET['a'];
if(!is_numeric($s)){
if($s+1 === 1000){
die($flag7);
}
}
?>
?a=999a
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
$param2 = 'param2';
extract($_GET);
if (isset($param1)) {
if ($param1 == $content){
foreach($arr as $key => $value){
$$key = $value;
}
if($param2==='getflag'){
echo $flag9;
}
}else{
echo "Oh..nooo";
}
}
?>
?param1=1¶m2=getflag&content=1
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
if(isset($_GET['password'])){
if(ereg("^[a-zA-Z0-9]+$", $_GET['password'])===false){
echo "must be alphanumeric";
}elseif (strpos($_GET['password'], '--')!=false) {
die($flag8);
}else{
echo "Invalid password";
}
}
?>
?password=a%00–
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
$flag = 'test';
extract($_GET);
if($a!=$b && md5($a)==md5($b) && $c!==$d && sha1($c)===sha1($d)){
if(gettype($a)=='array' && gettype($b)=='array'){
die('Oh..no..');
}
if($$flag==='getflag'){
die($flag11);
}
}
?>
?a=QNKCDZO&b=s878926199a&c[]=3&d[]=4&flag=test&test=getflag
<?php
include "flag.php";
highlight_file(__FILE__);
error_reporting(0);
$paa = 'come_baby';
var_dump($_GET['param']);
parse_str($_GET['param']);
if($arr[1]==="i want" && $paa!=='come_baby' && $a_b==='haha'){
die($flag10);
}else{
echo "Oh..no..";
}
?>
?param=arr[1]=i want%26paa=1%26a_b=haha
边栏推荐
- DECLARE_ WAIT_ QUEUE_ HEAD、wake_ up_ Interruptible macro analysis
- MySQL winter vacation self-study 2022 11 (10)
- 有個疑問 flink sql cdc 的話可以設置並行度麼, 並行度大於1會有順序問題吧?
- MySQL winter vacation self-study 2022 11 (9)
- [groovy] string (string splicing | multi line string)
- v-if VS v-show 2.0
- How about programmers' eyesight| Daily anecdotes
- LeetCode 234. Palindrome linked list
- Nmap使用手册学习记录
- When sqlacodegen generates a model, how to solve the problem that the password contains special characters?
猜你喜欢
输入的查询SQL语句,是如何执行的?
New interesting test applet source code_ Test available
v-if VS v-show 2.0
It took two nights to get Wu Enda's machine learning course certificate from Stanford University
grandMA2 onPC 3.1.2.5的DMX参数摸索
[untitled]
JWT vulnerability recurrence
Talk about the SQL server version of DTM sub transaction barrier function
ABP vNext microservice architecture detailed tutorial - distributed permission framework (Part 1)
Talk about the SQL server version of DTM sub transaction barrier function
随机推荐
[105] Baidu brain map - Online mind mapping tool
程序员的视力怎么样? | 每日趣闻
A brief introduction to the behavior tree of unity AI
SPI and IIC communication protocol
問下,這個ADB mysql支持sqlserver嗎?
How rem is used
[web source code code code audit method] audit skills and tools
Clickhouse物化视图
Logstash、Fluentd、Fluent Bit、Vector? How to choose the appropriate open source log collector
Anti debugging (basic principles of debugger Design & NT NP and other anti debugging principles)
DMX parameter exploration of grandma2 onpc 3.1.2.5
ICSI213/IECE213 Data Structures
UI自动化测试从此告别手动下载浏览器驱动
【做题打卡】集成每日5题分享(第三期)
企业级:Spire.Office for .NET:Platinum|7.7.x
Leetcode92. reverse linked list II
[an Xun cup 2019] not file upload
汇编-入门
Kuboard
LeetCode 234. Palindrome linked list