当前位置:网站首页>[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
边栏推荐
- In MySQL Association query, the foreign key is null. What if the data cannot be found?
- [C language] address book - dynamic and static implementation
- Why do some programmers change careers before they are 30?
- postman和postman interceptor的安装
- PlasticSCM 企业版Crack
- Pdf things
- The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
- MindFusion.Virtual Keyboard for WPF
- 天干地支纪年法中为什么是60年一个轮回,而不是120年
- Nmap使用手册学习记录
猜你喜欢

NEW:Devart dotConnect ADO.NET
![[C language] address book - dynamic and static implementation](/img/eb/07e7a32a172e5ae41457cf8a49c130.jpg)
[C language] address book - dynamic and static implementation

Basic knowledge of tuples

Accuracy problem and solution of BigDecimal
![[luat-air105] 4.1 file system FS](/img/5e/7fdeedaef420736d761f4a681cd2d8.jpg)
[luat-air105] 4.1 file system FS

PlasticSCM 企业版Crack
![[groovy] string (string splicing | multi line string)](/img/c7/2471d13e5d49cca3727d05b4f9fb36.jpg)
[groovy] string (string splicing | multi line string)

Redis6-01nosql database

Timing manager based on C #

SQL performance optimization skills
随机推荐
glibc strlen 实现方式分析
Is there any way to change the height of the uinavigationbar in the storyboard without using the UINavigationController?
Kubernetes - Multi cluster management
Zero foundation uses paddlepaddle to build lenet-5 network
KVM virtualization
[untitled]
[groovy] string (string type variable definition | character type variable definition)
How can we truncate the float64 type to a specific precision- How can we truncate float64 type to a particular precision?
[C language] address book - dynamic and static implementation
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Difference between MotionEvent. getRawX and MotionEvent. getX
Analysis of glibc strlen implementation mode
A brief introduction to the behavior tree of unity AI
How to learn to get the embedding matrix e # yyds dry goods inventory #
In MySQL Association query, the foreign key is null. What if the data cannot be found?
程序员的视力怎么样? | 每日趣闻
[105] Baidu brain map - Online mind mapping tool
[software reverse analysis tool] disassembly and decompilation tool
JWT漏洞复现
How to make the listbox scroll automatically when adding a new item- How can I have a ListBox auto-scroll when a new item is added?