[Network Security] Upload-labs Pass-06 Detailed Analysis of Problem Solving

Readers can refer to and subscribe to the column: Upload-Labs shooting range offensive and defensive combat


Antsword Ant Sword

This question involves the use of the Ant Sword tool, the operation can refer to:

[Network Security] AntSword (ant sword) actual combat problem solving detailed analysis (entry)

[Network Security] DVWA's File Upload—AntSword (Ant Sword) attack posture and detailed analysis of problem solving collection


posture

Backend logic code:

insert image description here

This level does not use the strtolower function to filter the case of the file name, so you can capture the packet to bypass the case

One sentence Trojan file content:

insert image description here

Change .php to .Php

Packing:

insert image description here

Due to the apache 2.4.39 connection error reported in PHPStudy, it can be switched to nginx 1.15.11

insert image description here

Then open the image link to get the file upload URL

insert image description here

insert image description here

Connect Ant Sword:

insert image description here

insert image description here


Summarize

The above is the detailed analysis of [Network Security] upload-labs Pass-06 problem solving, and the detailed analysis of [Network Security] xss-labs Pass-07 problem solving will be shared later.

I am Qiu said , see you next time.

Guess you like

Origin blog.csdn.net/2301_77485708/article/details/132282693