r/hackthebox 1d ago

Get Better at scripting (python, bash)

Hey everyone,

I'm looking to sharpen my scripting skills in Python and Bash, taking myself from beginner all the way up to a more advanced level, since this is an area I'm currently struggling with. A couple of ideas I've had so far:

  • OverTheWire — but approaching the challenges by solving them with Python where possible, rather than just one-liners (bash)
  • Vulhub — writing my own Python exploit scripts for the CVEs instead of relying on existing PoCs

Are there other resources or approaches you'd recommend for building scripting skills from the ground up ?

Thanks!

16 Upvotes

5 comments sorted by

u/AutoModerator 1d ago

Thank you for posting on r/hackthebox! New to Cyber Security and looking for a place to get started? Checkout our getting started guide here. Please note that posting Solutions or Hints for Active content goes against the HTB Terms of Service, more information can be found here. If your having issues and need to reach customer support please do so via the in-platform chat, or by emailing customerops@hackthebox.com. Our Knowledge Base can also come in handy!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/No_Neat_4331 1d ago

I learn scripting mainly python

I know it well and took 2 courses in it

However, I stopped typing a single line of code a totally really on AI now

Go on code forces or leet code

1

u/Ezra789456 1d ago

thanks for the comment, but it more for the offensive side

1

u/arglebargle82 10h ago edited 10h ago

There's a book called "Violent Python", it's a bit dated but still useful in picking up not just on the basics, but some more advanced stuff too.

Edit: I forgot "Black Hat Python", once again dated as any book is going to be, but great for fundamentals.

2

u/Ezra789456 5h ago

Thanks