FLAG Attended writeup & script
by paulwatson42016 - April 27, 2021 at 10:44 AM
#1
This is full attended pdf and I include script so copy paste and get flag before box retire

pdf Hidden Content
You must register or login to view this content.


rootscript.py Hidden Content
You must register or login to view this content.


Userscript.py Hidden Content
You must register or login to view this content.

root hash Hidden Content
You must register or login to view this content.
Reply
#2
do you have script exploit file .doc?
Reply
#3
(April 27, 2021 at 10:45 AM)lulzkid Wrote: do you have script exploit file .doc?

I don't know what mean
This box does not have .doc file, I give pdf writeup and script for root
Reply
#4
hey awesome! i submitted the user here in another thread. very weak in pwn so was waiting for the root writeup lol @paulwatson42016
Reply
#5
ValueError: RSA modulus is not odd
smt strange with root part, doesnt work for me dnk why. any ideas?
Reply
#6
(April 27, 2021 at 06:04 PM)John Raid Wrote: ValueError: RSA modulus is not odd
smt strange with root part, doesnt work for me dnk why. any ideas?

Try this 
pip install "pycrypto==2.6.1"

But I can't get root and sorry but I can't understand (how to pwn) [ Explaination from pdf is good please don't judge by my comment ]

If anyone can explain plz let me know
Reply
#7
(April 27, 2021 at 09:32 PM)patelcha Wrote:
(April 27, 2021 at 06:04 PM)John Raid Wrote: ValueError: RSA modulus is not odd
smt strange with root part, doesnt work for me dnk why. any ideas?

Try this 
pip install "pycrypto==2.6.1"

But I can't get root and sorry but I can't understand (how to pwn) [ Explaination from pdf is good please don't judge by my comment ]

If anyone can explain plz let me know
What problem do you have?
Reply
#8
If you have problems with ssh key might try
sshkey=ssh-keygen -b 8600 -t rsa -f keyHeader

Then put in your payload
payload=sshkey[:22]
Reply
#9
ssh -i root.pub [email protected] -p 2222

or

ssh -i root. [email protected] -p 2222

??
Reply
#10
(April 27, 2021 at 10:02 PM)paulwatson42016 Wrote:
(April 27, 2021 at 09:32 PM)patelcha Wrote:
(April 27, 2021 at 06:04 PM)John Raid Wrote: ValueError: RSA modulus is not odd
smt strange with root part, doesnt work for me dnk why. any ideas?

Try this 
pip install "pycrypto==2.6.1"

But I can't get root and sorry but I can't understand (how to pwn) [ Explaination from pdf is good please don't judge by my comment ]

If anyone can explain plz let me know
What problem do you have?

Solved Bro, I mis-understood btw keys;

Thx bro It was a touch machine; Really Appreciate :3
Reply
#11
(April 27, 2021 at 10:44 AM)paulwatson42016 Wrote: This is full attended pdf and I include script so copy paste and get flag before box retire

[Hidden Content]

[Hidden Content]

[Hidden Content]
[Hidden Content]

+rep if like

Could you help me with the next 2 question:


in the command ssh -i freshness [email protected] where do you get freshness key?
Can you share me the doc of the writeup? this coz in the pdf i cant see some commands

I try to pm you but cant
Reply
#12
python3 writeupScriptUser.py run problem why

ssh -i freshness.txt [email protected]

Load key "freshness.txt": invalid format
Reply

Possibly Related Threads…
Thread Author Replies Views Last Post
TUTORIAL ATTENDED [DISCUSSION] 0xvijay 91 26,687 Yesterday at 07:26 AM
Last Post: Destroy3r3
TUTORIAL HTB: "Toxic" - Flag & Detailed Writeup Including an Auto Exploit Script quas4r 0 708 May 02, 2021 at 11:16 AM
Last Post: quas4r
FLAG Attended writeup xicla 7 1,569 May 01, 2021 at 05:34 PM
Last Post: im_RobOT

 Users browsing this thread: 3 Guest(s)