Posts: 42
Threads: 2
Joined: Aug 2023
Some nudges for user?
im trying to edit some .pdf files inside zipfiles, but doesnt work nothing.. =(
Posts: 42
Threads: 2
Joined: Aug 2023
Yes, got user and shell.. now trying to ROOT. -.- " i think reversing is the path.
Posts: 10
Threads: 0
Joined: Aug 2023
(Aug 27, 2023, 01:47 AM)hooneyman Wrote: Yes, got user and shell.. now trying to ROOT. -.- " i think reversing is the path.
Can read user.txt but how did you get foothold?
Posts: 16
Threads: 1
Joined: Aug 2023
(Aug 27, 2023, 01:13 AM)Gjust Wrote: There is a file upload feature that allow to read files !
man how did you found that?? i'm playing with the upload function but i'm completely lost
Posts: 4
Threads: 0
Joined: Jul 2023
How you guys are getting the RCE? I have already found webroot and some stuff, but can't concrete to RCE. I have 403 on most of files requested like user.txt. The symlink thing seems to work, but i can't find any way to RCE. Can you tell me what i should check?
Posts: 25
Threads: 2
Joined: Aug 2023
Aug 27, 2023, 02:18 PM
(This post was last modified: Aug 27, 2023, 02:28 PM by damnberoo.)
(Aug 27, 2023, 03:35 AM)Gjust Wrote: Try a zip symlink in the zipped file
thanks got it, btw mate, how did you figure that out
edit: nvm, there is a section in hacktriks on zip and symlinks
Posts: 12
Threads: 0
Joined: Aug 2023
Normal upload protection bypasses work, if you managed to create a file with those characters inside the zip.
Posts: 10
Threads: 0
Joined: Aug 2023
Aug 27, 2023, 03:46 PM
(This post was last modified: Aug 27, 2023, 04:35 PM by 0xb137c88eb5.)
What is the name of ssh key? Can't get any of known like id_rsa, id_ecdsa etc...
UPD: nvm, got it
Posts: 16
Threads: 1
Joined: Aug 2023
Aug 27, 2023, 03:52 PM
(This post was last modified: Aug 27, 2023, 03:54 PM by hackxor.)
(Aug 27, 2023, 03:36 PM)SingaporeFriend Wrote: Normal upload protection bypasses work, if you managed to create a file with those characters inside the zip.
i've tried using double extension, null byte at the end, and some other techniques but nothing worked as well, i can upload the file but always gonna be a PDF, and using the zip symlink i got the "/shop/index.php" but i didn't know if its possible to bypass the
$page = isset($_GET['page']) && file_exists($_GET['page'] . '.php') ? $_GET['page'] : 'home';
so how did you triggered the file?
Posts: 12
Threads: 0
Joined: Aug 2023
1. Create a php reverse shell with the name rev.phpX.pdf
2. Zip it
3. Hex edit the zip archive and change the X (x58) to x00
4. Upload the zip
5. If the upload message now contains a space it was successful
|