<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Homepage on Aditya Telange</title><link>https://adityatelange.in/</link><description>Recent content in Homepage on Aditya Telange</description><image><title>Aditya Telange</title><url>https://adityatelange.in/assets/tn.jpg</url><link>https://adityatelange.in/assets/tn.jpg</link></image><generator>Hugo</generator><language>en</language><copyright>2026 Aditya Telange</copyright><lastBuildDate>Mon, 13 Apr 2026 00:00:00 +0530</lastBuildDate><atom:link href="https://adityatelange.in/index.xml" rel="self" type="application/rss+xml"/><item><title>One Year with evil-winrm-py - A Retrospective</title><link>https://adityatelange.in/blog/evil-winrm-py/</link><pubDate>Mon, 13 Apr 2026 00:00:00 +0530</pubDate><guid>https://adityatelange.in/blog/evil-winrm-py/</guid><description>A retrospective on the development and impact of evil-winrm-py, a Python implementation of the popular evil-winrm tool for Windows Remote Management.</description></item><item><title>Bypassing LinkedIn's Connection Privacy with a Simple Search Filter</title><link>https://adityatelange.in/blog/linkedin-list-network-without-connecting/</link><pubDate>Mon, 26 Jan 2026 00:40:00 +0530</pubDate><guid>https://adityatelange.in/blog/linkedin-list-network-without-connecting/</guid><description>Discover how a simple manipulation of LinkedIn&amp;#39;s search filters allowed access to private connection lists, highlighting the importance of robust access controls.</description></item><item><title>Making Dynamic Instrumentation Accessible with Frida UI</title><link>https://adityatelange.in/blog/ui-for-frida/</link><pubDate>Thu, 15 Jan 2026 00:00:00 +0530</pubDate><guid>https://adityatelange.in/blog/ui-for-frida/</guid><description>A developer-friendly mobile-dashboard for Frida to speed up your Android and iOS dynamic instrumentation workflow.</description></item><item><title>Breaking Payload Encryption in Web Applications</title><link>https://adityatelange.in/blog/payload-encryption/</link><pubDate>Sat, 27 Sep 2025 23:59:52 +0530</pubDate><guid>https://adityatelange.in/blog/payload-encryption/</guid><description>A deep dive into techniques for breaking payload encryption in web applications, including common vulnerabilities and tools used.</description></item><item><title>HackTheBox (HTB) - Escape</title><link>https://adityatelange.in/writeups/hackthebox/escape/</link><pubDate>Sun, 06 Jul 2025 19:50:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/escape/</guid><description>Escape is a medium-difficulty Windows machine on Hack The Box that revolves around Active Directory. The initial foothold is gained by finding credentials in a PDF file on an open SMB share. This access is then leveraged to connect to an MSSQL service, from which we capture and crack the NTLM hash of a service account. Lateral movement is achieved by discovering another user&amp;rsquo;s credentials in a log file. Finally, privilege escalation to Administrator is accomplished by exploiting a misconfiguration in Active Directory Certificate Services (ADCS), specifically the ESC1 vulnerability.</description></item><item><title>HackTheBox (HTB) - Resolute</title><link>https://adityatelange.in/writeups/hackthebox/resolute/</link><pubDate>Sun, 29 Jun 2025 19:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/resolute/</guid><description>Resolute is a medium-difficulty Windows machine on HackTheBox that involves a realistic Active Directory penetration test. The initial foothold is gained by enumerating domain users via a null SMB session and discovering a default password in a user&amp;rsquo;s description, which is then reused to gain access as another user via WinRM. Lateral movement is achieved by discovering cleartext credentials for a more privileged user within PowerShell transcripts. Finally, privilege escalation to SYSTEM is accomplished by abusing the permissions of the DnsAdmins group to load a malicious DLL.</description></item><item><title>HackTheBox (HTB) - Certified</title><link>https://adityatelange.in/writeups/hackthebox/certified/</link><pubDate>Thu, 20 Mar 2025 20:40:31 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/certified/</guid><description>&lt;code&gt;Certified&lt;/code&gt; is a Windows machine having misconfigured ACL in Active Directory environment where initial access for a low-privileged user &lt;code&gt;judith.mader&lt;/code&gt; is provided. Exploitation of the Active Directory Certificate Service (ADCS) is required to get access to the &lt;code&gt;management_svc&lt;/code&gt;, &lt;code&gt;ca_operator&lt;/code&gt; and &lt;code&gt;Administrator&lt;/code&gt; account by abusing shadow credentials and &lt;code&gt;ESC9&lt;/code&gt;.</description></item><item><title>State of VMWare Workstation (Pro?) on Linux</title><link>https://adityatelange.in/blog/state-of-vmware-workstation-linux/</link><pubDate>Mon, 24 Jun 2024 22:38:44 +0530</pubDate><guid>https://adityatelange.in/blog/state-of-vmware-workstation-linux/</guid><description>&lt;p&gt;VMWare Workstation is a popular virtualization software that was recently made available for &lt;a href="https://blogs.vmware.com/workstation/2024/05/vmware-workstation-pro-now-available-free-for-personal-use.html"&gt;free personal use&lt;/a&gt; after VMWare was acquired by Broadcom. This is an excellent move by Broadcom, as it will help many users to utilize this software for free for personal use and learning purposes.&lt;/p&gt;
&lt;p&gt;I have been using VMWare Workstation on Linux for a while now and I have to say that it is a great piece of software. It is very easy to use, is extremely fast, and has a lot of features that make it a great choice for virtualization on Linux.&lt;/p&gt;</description></item><item><title>Android App Security Testing Lab with MobSleuth</title><link>https://adityatelange.in/blog/mobsleuth-lab/</link><pubDate>Sun, 16 Jun 2024 19:32:45 +0530</pubDate><guid>https://adityatelange.in/blog/mobsleuth-lab/</guid><description>Setting up a virtual lab for Android App security assessments.</description></item><item><title>Android phone as a Webcam on Linux</title><link>https://adityatelange.in/blog/android-phone-webcam-linux/</link><pubDate>Sat, 17 Feb 2024 19:10:11 +0530</pubDate><guid>https://adityatelange.in/blog/android-phone-webcam-linux/</guid><description>Learn how to set up a virtual webcam on Linux using your Android device&amp;rsquo;s cameras using scrcpy.</description></item><item><title>Breaking down Reverse shell commands</title><link>https://adityatelange.in/blog/revshells/</link><pubDate>Sun, 07 May 2023 19:27:11 +0530</pubDate><guid>https://adityatelange.in/blog/revshells/</guid><description>&lt;p&gt;In pentesting assessments and CTFs we always need reverse shells to execute commands on target machine once we have exploited a system and have a command injection at some point in our engagement.&lt;/p&gt;
&lt;p&gt;For that we have an awesome project: &lt;a href="https://revshells.com/"&gt;revshells.com&lt;/a&gt; or &lt;a href="https://github.com/0dayCTF/reverse-shell-generator"&gt;reverse-shell-generator&lt;/a&gt;
where we have a ton of reverse shell payloads listed.
This blog post tries to explain their working.&lt;/p&gt;
&lt;p&gt;Note: I&amp;rsquo;ll be breaking down &lt;em&gt;all of them, but not all at once&lt;/em&gt;.
If you have any comments/feedback let me know in the &lt;a href="https://adityatelange.in/blog/revshells/#comments_section"&gt;comments section&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>HackTheBox (HTB) - Photobomb</title><link>https://adityatelange.in/writeups/hackthebox/photobomb/</link><pubDate>Sat, 11 Feb 2023 21:40:09 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/photobomb/</guid><description>Photobomb is a fun box on Hackthebox where we initially get hardcoded credentials in a Javascript file, which we can use to authenticate with &lt;code&gt;basic auth&lt;/code&gt; to access the image resizing tool, which has command injection leading to us getting a reverse shell.
After getting initial access as user &lt;code&gt;wizard&lt;/code&gt;, we see a &lt;code&gt;cleanup.sh&lt;/code&gt; script which can be run as &lt;code&gt;root&lt;/code&gt;. We then abuse the redirection operator &lt;code&gt;&amp;gt;&lt;/code&gt; clobbering the &lt;code&gt;/etc/passwd&lt;/code&gt; file to escalate our privileges by adding user &lt;code&gt;wizard&lt;/code&gt; to group &lt;code&gt;root&lt;/code&gt;.</description></item><item><title>Merging AOSP Security Patches into Custom ROMs</title><link>https://adityatelange.in/blog/aosp/merge-security-patches-aosp/</link><pubDate>Sat, 28 Jan 2023 18:01:22 +0530</pubDate><guid>https://adityatelange.in/blog/aosp/merge-security-patches-aosp/</guid><description>Learn how Android custom ROMs integrate AOSP security patches. Step-by-step guide to merging patches for a secure and up-to-date custom ROM.</description></item><item><title>Primer on HTTP Security Headers</title><link>https://adityatelange.in/http-security-headers/</link><pubDate>Sun, 04 Dec 2022 04:11:01 +0530</pubDate><guid>https://adityatelange.in/http-security-headers/</guid><description>Learn about HTTP security headers and how to configure them for securing web applications.</description></item><item><title>Image Zoom-In effect with HUGO</title><link>https://adityatelange.in/blog/hugo-image-zoom-in/</link><pubDate>Sat, 10 Sep 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/blog/hugo-image-zoom-in/</guid><description>Adding a Zoom-In effect to post image for websites built with Hugo.</description></item><item><title>HackTheBox (HTB) - Legacy</title><link>https://adityatelange.in/writeups/hackthebox/legacy/</link><pubDate>Fri, 03 Jun 2022 22:15:51 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/legacy/</guid><description>Legacy is a relatively easy box which has SMB running on Windows XP(2000) OS. We find the exploit with metasploit and get access to priviledged user &lt;code&gt;NT AUTHORITY\SYSTEM&lt;/code&gt; directly.</description></item><item><title>HackTheBox (HTB) - Lame</title><link>https://adityatelange.in/writeups/hackthebox/lame/</link><pubDate>Fri, 03 Jun 2022 19:27:57 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/lame/</guid><description>Lame is the 1st box on HackTheBox which requires only one exploit in Samba to obtain root access. We also explore other ways during we reach to superuser&amp;rsquo;s shell.</description></item><item><title>Cryptohack - Keyed Permutations [5 pts]</title><link>https://adityatelange.in/writeups/cryptohack/aes/keyed-permutations/</link><pubDate>Fri, 20 May 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/aes/keyed-permutations/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;AES, like all good block ciphers, performs a &amp;ldquo;keyed permutation&amp;rdquo;. This means that it maps every possible input block to a unique output block, with a key determining which permutation to perform.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A &amp;ldquo;block&amp;rdquo; just refers to a fixed number of bits or bytes, which may represent any kind of data. AES processes a block and outputs another block. We&amp;rsquo;ll be specifically talking the variant of AES which works on 128 bit (16 byte) blocks and a 128 bit key, known as AES-128.&lt;/p&gt;</description></item><item><title>Cryptohack - Resisting Bruteforce [10 pts]</title><link>https://adityatelange.in/writeups/cryptohack/aes/resisting-bruteforce/</link><pubDate>Fri, 20 May 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/aes/resisting-bruteforce/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;If a block cipher is secure, there should be no way for an attacker to distinguish the output of AES from a &lt;a href="https://en.wikipedia.org/wiki/Pseudorandom_permutation"&gt;random permutation&lt;/a&gt; of bits. Furthermore, there should be no better way to undo the permutation than simply bruteforcing every possible key. That&amp;rsquo;s why academics consider a cipher theoretically &amp;ldquo;broken&amp;rdquo; if they can find an attack that takes fewer steps to perform than bruteforcing the key, even if that attack is practically infeasible.&lt;/p&gt;</description></item><item><title>Cryptohack - RSA Starter 1 [10 pts]</title><link>https://adityatelange.in/writeups/cryptohack/rsa/rsa-starter-1/</link><pubDate>Fri, 20 May 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/rsa/rsa-starter-1/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;All operations in RSA involve &lt;a href="https://en.wikipedia.org/wiki/Modular_exponentiation"&gt;modular exponentiation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Modular exponentiation is an operation that is used extensively in cryptography and is normally written like: &lt;code&gt;2&lt;sup&gt;10&lt;/sup&gt; mod 17&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can think of this as raising some number to a certain power (&lt;code&gt;2&lt;sup&gt;10&lt;/sup&gt; = 1024&lt;/code&gt;), and then taking the remainder of the division by some other number (&lt;code&gt;1024 mod 17 = 4&lt;/code&gt;). In Python there&amp;rsquo;s a built-in operator for performing this operation: &lt;code&gt;pow(base, exponent, modulus)&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Cryptohack - Base64 [10 pts]</title><link>https://adityatelange.in/writeups/cryptohack/general/base64/</link><pubDate>Tue, 03 May 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/general/base64/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;Another common encoding scheme is Base64, which allows us to represent binary data as an ASCII string using 64 characters. One character of a Base64 string encodes 6 bits, and so 4 characters of Base64 encode three 8-bit bytes.&lt;/p&gt;
&lt;p&gt;Base64 is most commonly used online, so binary data such as images can be easily included into HTML or CSS files.&lt;/p&gt;</description></item><item><title>Cryptohack - Bytes and Big Integers [10 pts]</title><link>https://adityatelange.in/writeups/cryptohack/general/bytes-and-big-integers/</link><pubDate>Tue, 03 May 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/general/bytes-and-big-integers/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;Cryptosystems like RSA works on numbers, but messages are made up of characters. How should we convert our messages into numbers so that mathematical operations can be applied?&lt;/p&gt;
&lt;p&gt;The most common way is to take the ordinal bytes of the message, convert them into hexadecimal, and concatenate. This can be interpreted as a base-16 number, and also represented in base-10.&lt;/p&gt;</description></item><item><title>Cryptohack - Hex [5 pts]</title><link>https://adityatelange.in/writeups/cryptohack/general/hex/</link><pubDate>Tue, 03 May 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/general/hex/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;When we encrypt something the resulting ciphertext commonly has bytes which are not printable ASCII characters. If we want to share our encrypted data, it&amp;rsquo;s common to encode it into something more user-friendly and portable across different systems.&lt;/p&gt;
&lt;p&gt;Included below is a flag encoded as a hex string. Decode this back into bytes to get the flag.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;63727970746f7b596f755f77696c6c5f62655f776f726b696e675f776974685f6865785f737472696e67735f615f6c6f747d&lt;/code&gt;&lt;/p&gt;
&lt;!-- adsense-inarticle --&gt;
&lt;h2 id="solution"&gt;Solution&lt;/h2&gt;
&lt;p&gt;Python:&lt;/p&gt;</description></item><item><title>Cryptohack- XOR Starter [10 pts]</title><link>https://adityatelange.in/writeups/cryptohack/general/xor-starter/</link><pubDate>Tue, 03 May 2022 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/general/xor-starter/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;XOR is a bitwise operator which returns 0 if the bits are the same, and 1 otherwise. In textbooks the XOR operator is denoted by ⊕, but in most challenges and programming languages you will see the caret &lt;code&gt;^&lt;/code&gt; used instead.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;A&lt;/th&gt;
&lt;th&gt;B&lt;/th&gt;
&lt;th&gt;Output&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For longer binary numbers we XOR bit by bit: &lt;code&gt;0110 ^ 1010 = 1100&lt;/code&gt;. We can XOR integers by first converting the integer from decimal to binary. We can XOR strings by first converting each character to the integer representing the Unicode character.&lt;/p&gt;</description></item><item><title>HackTheBox (HTB) - Horizontall</title><link>https://adityatelange.in/writeups/hackthebox/horizontall/</link><pubDate>Sat, 05 Feb 2022 22:27:57 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/horizontall/</guid><description>Horizontall is a fun box which has an API, vulnerable to Improper Access Control and RCE. The box is running a laravel service which is vulnerable to RCE which lets us run commanad as &lt;code&gt;root&lt;/code&gt;.</description></item><item><title>HackTheBox (HTB) - Forge</title><link>https://adityatelange.in/writeups/hackthebox/forge/</link><pubDate>Sat, 22 Jan 2022 21:27:29 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/forge/</guid><description>&lt;fieldset&gt;&lt;legend&gt;Box Info&lt;/legend&gt;&lt;ul&gt;
&lt;li&gt;Name: &lt;a href="https://www.hackthebox.com/machines/forge"&gt;&lt;code&gt;Forge&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OS: &lt;code&gt;Linux&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Difficulty: &lt;code&gt;Medium&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;IP: &lt;code&gt;10.10.11.111&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Points: &lt;code&gt;30&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Machine Creator: &lt;a href="https://app.hackthebox.eu/users/393721"&gt;&lt;code&gt;NoobHacker9999&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/fieldset&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Forge is a fun box on Hackthebox that has a &lt;em&gt;File Upload functionality&lt;/em&gt; which is vulnerable to &lt;code&gt;SSRF&lt;/code&gt;.
This exposes the &lt;em&gt;internal Admin panel&lt;/em&gt; and lets us read files with &lt;em&gt;internal FTP service&lt;/em&gt;, which includes SSH key pair of the user.&lt;/p&gt;
&lt;p&gt;Listing the available commands we can run as a superuser, we have a &lt;em&gt;python script&lt;/em&gt; which opens a &lt;em&gt;socket connection&lt;/em&gt;.
This calls &lt;em&gt;PDB&lt;/em&gt; with an exception occurs, with which we get a shell as &lt;code&gt;root&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>HackTheBox (HTB) - Previse</title><link>https://adityatelange.in/writeups/hackthebox/previse/</link><pubDate>Sat, 08 Jan 2022 20:35:33 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/previse/</guid><description>Previse is a fun Linux box on HackTheBox that has &lt;em&gt;insecure redirect&lt;/em&gt; implementation which leaks information on the page. This can then be used to create a new user in the application and get access to &lt;code&gt;backup.zip&lt;/code&gt; of it. Backup revels that there is a &lt;code&gt;command injection&lt;/code&gt; vulnerability present in the &lt;code&gt;logs&lt;/code&gt; fetching feature, which gets us a basic shell.
We have a &lt;code&gt;MySQL&lt;/code&gt; server running inside the box which has reused credenrials from the &lt;code&gt;backup.zip&lt;/code&gt;. We get hashed/salted credentials inside this database and crack it by writing a &lt;em&gt;custom PHP script&lt;/em&gt;. We again have a &lt;em&gt;username and password reuse&lt;/em&gt; for a &lt;code&gt;SSH&lt;/code&gt; user, which gives us a user shell.
Listing sudo privilegs we get to know there is a script which we can run as &lt;code&gt;root&lt;/code&gt;, that does not mention absolute &lt;code&gt;$PATH&lt;/code&gt; for a command being used. Thus can be overriden by &lt;code&gt;$PATH&lt;/code&gt; variable set by current &lt;code&gt;USER&lt;/code&gt;.</description></item><item><title>HackTheBox (HTB) - BountyHunter</title><link>https://adityatelange.in/writeups/hackthebox/bountyhunter/</link><pubDate>Sat, 20 Nov 2021 20:55:26 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/bountyhunter/</guid><description>BountyHunter is a fun Linux box on HackTheBox that has XXE injection on a PHP form, which exposes DB credentials. This DB credential is reused as a password for a user on the box.
The box also has an internal python3 script which could be run as elevated privileges. This script uses &lt;code&gt;eval&lt;/code&gt; by which we get command injection, which leads to superuser access to this box.</description></item><item><title>HackTheBox (HTB) - Explore</title><link>https://adityatelange.in/writeups/hackthebox/explore/</link><pubDate>Sat, 30 Oct 2021 20:37:29 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/explore/</guid><description>Explore is a fun Android box that has an Open Port Vulnerability because of a popular file manager application.
This box also has &lt;code&gt;ADB over TCP/IP&lt;/code&gt; open over port &lt;code&gt;5555&lt;/code&gt; which leads to obtaining &lt;code&gt;root&lt;/code&gt; privileges.</description></item><item><title>HackTheBox (HTB) - Cap</title><link>https://adityatelange.in/writeups/hackthebox/cap/</link><pubDate>Sat, 02 Oct 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/cap/</guid><description>Cap is a fun box where we find a &lt;code&gt;flask&lt;/code&gt; web app which lets us download network log, where we find &lt;code&gt;FTP&lt;/code&gt; and &lt;code&gt;SSH&lt;/code&gt; credentials for user &lt;code&gt;nathan&lt;/code&gt;. The box has &lt;code&gt;python&lt;/code&gt; which has capability to set &lt;code&gt;UIDs&lt;/code&gt;, which lets us access &lt;code&gt;root&lt;/code&gt;s shell, when &lt;code&gt;UID&lt;/code&gt; is set to &lt;code&gt;0&lt;/code&gt;.</description></item><item><title>HackTheBox (HTB) - Pit</title><link>https://adityatelange.in/writeups/hackthebox/pit/</link><pubDate>Sat, 25 Sep 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/pit/</guid><description>Pit is a fun box where &lt;code&gt;SNMP&lt;/code&gt; Data reveals that &lt;code&gt;seeddms&lt;/code&gt; instance is running, which is vulnerable to RCE.
The box has CentOS’s Cockpit Web Console on port &lt;code&gt;9090&lt;/code&gt;, which uses reused password from DB credentials. This gives access to user shell.
LinPeas reveals there is a &lt;code&gt;monitoring&lt;/code&gt; service, which runs bash scripts in a particular directory. Chaining this with SNMPwalk gives us &lt;code&gt;root&lt;/code&gt;.</description></item><item><title>HackTheBox (HTB) - Knife</title><link>https://adityatelange.in/writeups/hackthebox/knife/</link><pubDate>Sat, 28 Aug 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/knife/</guid><description>Knife is a fun box which uses a PHP version having backdoor, which leads to RCE. The box has a command named &lt;code&gt;knife&lt;/code&gt; which lets non-superusers run commanad as &lt;code&gt;root&lt;/code&gt;.</description></item><item><title>HackTheBox (HTB) - Love</title><link>https://adityatelange.in/writeups/hackthebox/love/</link><pubDate>Sat, 07 Aug 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/love/</guid><description>Love is a fun box where we find a hidden subdomain that helps us retrieve Forbidden pages, where admin credentials are leaked of another service. The access to the admin dashboard has a file upload, through which we get a reverse shell. The box then has &lt;code&gt;AlwaysInstallElevated&lt;/code&gt; that allows a regular user to install a Microsoft Windows Installer Package (MSI) with system privileges, which helps us get the Administrator access.</description></item><item><title>HackTheBox (HTB) - Tenet</title><link>https://adityatelange.in/writeups/hackthebox/tenet/</link><pubDate>Sat, 12 Jun 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/tenet/</guid><description>Tenet is a fun box where we find a backup of a staging PHP file which loads external code via deserialization, which leads to code-execution and a reverse shell. This leads to access to a script which the non-sudoer user can run to add ssh-key for getting root shell.</description></item><item><title>HackTheBox (HTB) - Ready</title><link>https://adityatelange.in/writeups/hackthebox/ready/</link><pubDate>Sat, 15 May 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/hackthebox/ready/</guid><description>Ready is a fun box which is using an outdated GitLab community version. Which apparently has an exploit which gives RCE to authenticated users.
This RCE gives access to docker container in which gitlab instance is running, and we have to breakout the container to escalate our privilages to get own root!</description></item><item><title>Watermarking images with HUGO</title><link>https://adityatelange.in/blog/hugo-watermarking-images/</link><pubDate>Sat, 24 Apr 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/blog/hugo-watermarking-images/</guid><description>Watermarking images in Hugo with your logo/text for copyright protection and marketing of digital works.</description></item><item><title>My Github Project went viral!</title><link>https://adityatelange.in/blog/papermod-went-viral/</link><pubDate>Tue, 16 Feb 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/blog/papermod-went-viral/</guid><description>&lt;blockquote&gt;
&lt;p&gt;On 13th Feb 2021 PaperMod went viral !!! 🤯&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hugo-PaperMod is a side-project of mine, which is a &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; Theme. I started modifying/optimizing this initially for my personal website but later decided to post it publicly on &lt;a href="https://themes.gohugo.io"&gt;Hugo Themes&lt;/a&gt;.
It is a modded version of &lt;a href="https://github.com/nanxiaobei/hugo-paper"&gt;Theme Paper&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For a brief overview, PaperMod is a blazing fast, clean and responsive theme with powerful SEO, and good documentation. And this on which this website is also themed upon 😉&lt;/p&gt;</description></item><item><title>Cryptohack - ASCII [5 pts]</title><link>https://adityatelange.in/writeups/cryptohack/general/ascii/</link><pubDate>Thu, 04 Feb 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/general/ascii/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;ASCII is a 7-bit encoding standard which allows the representation of text using the integers 0-127.&lt;/p&gt;
&lt;p&gt;Using the below integer array, convert the numbers to their corresponding ASCII characters to obtain a flag.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[99, 114, 121, 112, 116, 111, 123, 65, 83, 67, 73, 73, 95, 112, 114, 49, 110, 116, 52, 98, 108, 51, 125]&lt;/code&gt;&lt;/p&gt;
&lt;!-- adsense-inarticle --&gt;
&lt;h2 id="solution"&gt;Solution&lt;/h2&gt;
&lt;p&gt;Python:&lt;/p&gt;</description></item><item><title>Cryptohack - Finding Flags [2 pts]</title><link>https://adityatelange.in/writeups/cryptohack/introduction/finding-flags/</link><pubDate>Wed, 03 Feb 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/introduction/finding-flags/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;Each challenge is designed to help introduce you to a new piece of cryptography. Solving a challenge will require you to find a &amp;ldquo;flag&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;These flags will usually be in the format crypto{y0ur_f1rst_fl4g}. The flag format helps you verify that you found the correct solution.&lt;/p&gt;
&lt;p&gt;Try submitting this into the form below to solve your first challenge.&lt;/p&gt;
&lt;!-- adsense-inarticle --&gt;
&lt;h2 id="solution"&gt;Solution&lt;/h2&gt;
&lt;p&gt;Solution is given in problem XD&lt;/p&gt;</description></item><item><title>Cryptohack - Great Snakes [3 pts]</title><link>https://adityatelange.in/writeups/cryptohack/introduction/great-snakes/</link><pubDate>Wed, 03 Feb 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/introduction/great-snakes/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;Modern cryptography involves code, and code involves coding. CryptoHack provides a good opportunity to sharpen your skills.&lt;/p&gt;
&lt;p&gt;Of all modern programming languages, Python 3 stands out as ideal for quickly writing cryptographic scripts and attacks. For more information about why we think Python is so great for this, please see the FAQ.&lt;/p&gt;
&lt;p&gt;Run the attached Python script and it will output your flag.&lt;/p&gt;</description></item><item><title>Cryptohack - JWT Sessions [10 pts]</title><link>https://adityatelange.in/writeups/cryptohack/web/jwt-sessions/</link><pubDate>Wed, 03 Feb 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/web/jwt-sessions/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;The traditional way to store sessions is with session ID cookies. After you login to a website, a session object is created for you on the backend (the server), and your browser (the client) is given a cookie which identifies that object. As you make requests to the site, your browser automatically sends the session ID cookie to the backend server, which uses that ID to find your session in its own memory and thus authorise you to perform actions.&lt;/p&gt;</description></item><item><title>Cryptohack - Network Attacks [5 pts]</title><link>https://adityatelange.in/writeups/cryptohack/introduction/network-attacks/</link><pubDate>Wed, 03 Feb 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/introduction/network-attacks/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;Several of the challenges are dynamic and require you to talk to our challenge servers over the network. This allows you to perform man-in-the-middle attacks on people trying to communicate, or directly attack a vulnerable service. To keep things consistent, our interactive servers always send and receive JSON objects.&lt;/p&gt;
&lt;p&gt;Python makes such network communication easy with the &lt;code&gt;telnetlib&lt;/code&gt; module. Conveniently, it&amp;rsquo;s part of Python&amp;rsquo;s standard library, so let&amp;rsquo;s use it for now.&lt;/p&gt;</description></item><item><title>Cryptohack - Token Appreciation [5 pts]</title><link>https://adityatelange.in/writeups/cryptohack/web/token-appreciation/</link><pubDate>Wed, 03 Feb 2021 00:00:00 +0530</pubDate><guid>https://adityatelange.in/writeups/cryptohack/web/token-appreciation/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The Solution is shared considering &lt;a href="https://cryptohack.org/faq/#solutions"&gt;CAN I SHARE MY SOLUTIONS?&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;JavaScript Object Signing and Encryption (JOSE) is a framework specifying ways to securely transmit information on the internet. It&amp;rsquo;s most well-known for JSON Web Tokens (JWTs), which are used to authorise yourself on a website or application. JWTs typically do this by storing your &amp;ldquo;login session&amp;rdquo; in your browser after you have authenticated yourself by entering your username and password. In other words, the website gives you a JWT that contains your user ID, and can be presented to the site to prove who you are without logging in again. JWTs look like this:&lt;/p&gt;</description></item><item><title>CAF's Android for MSM</title><link>https://adityatelange.in/blog/aosp/caf-android-for-msm/</link><pubDate>Mon, 02 Nov 2020 00:00:00 +0530</pubDate><guid>https://adityatelange.in/blog/aosp/caf-android-for-msm/</guid><description>The Introduction to what CAF is w.r.t AOSP development</description></item><item><title>Basic Website Analytics with Vercel</title><link>https://adityatelange.in/blog/vercel-website-analytics/</link><pubDate>Thu, 01 Oct 2020 14:35:11 +0000</pubDate><guid>https://adityatelange.in/blog/vercel-website-analytics/</guid><description>Using Vercel&amp;rsquo;s Built-in HTTP Headers to get Usage Analytics with help of Serverless API</description></item><item><title>Github Actions as Temporary File Sharing Platform</title><link>https://adityatelange.in/blog/github-actions-file-server/</link><pubDate>Sat, 26 Sep 2020 13:20:44 +0000</pubDate><guid>https://adityatelange.in/blog/github-actions-file-server/</guid><description>Using Github&amp;rsquo;s workflow actions to set-up a High Speed Temporary File Sharing Platform</description></item><item><title>Addition of prebuilt APK - AOSP Rom Development</title><link>https://adityatelange.in/blog/aosp/aosp-adding-prebuilt-apk/</link><pubDate>Sun, 14 Jun 2020 00:00:00 +0000</pubDate><guid>https://adityatelange.in/blog/aosp/aosp-adding-prebuilt-apk/</guid><description>Sometimes we need to add some pre-built apk in our build because the source isn&amp;rsquo;t available or it is more easy to just pull the binaries from, and add it to our build.This post says how to do it.</description></item><item><title>External Link With target='_blank' in Hugo Markdown</title><link>https://adityatelange.in/blog/hugo-external-link-new-tab/</link><pubDate>Wed, 03 Jun 2020 18:16:38 +0000</pubDate><guid>https://adityatelange.in/blog/hugo-external-link-new-tab/</guid><description>&lt;h2 id="intro"&gt;Intro&lt;/h2&gt;
&lt;p&gt;Many a times we need to open some &lt;em&gt;External Link&lt;/em&gt; in &lt;em&gt;New Tab&lt;/em&gt; for the convenience of the Visitor . In Hugo there is no default method for this.
All we have in Hugo is &lt;code&gt;relref&lt;/code&gt; for Internal sites. :/&lt;/p&gt;
&lt;h2 id="implementaion"&gt;Implementaion&lt;/h2&gt;
&lt;p&gt;Hugo offers a way to render using a predefined template to Markdown(.md) with the help of Shortcodes.
We can create such a shortcode for *Creating an Exeternal link with with &lt;code&gt;target='_blank'&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Setting Up Build Environment - AOSP Rom Development</title><link>https://adityatelange.in/blog/aosp/aosp-setting-up-build-environment/</link><pubDate>Fri, 17 Apr 2020 00:00:00 +0530</pubDate><guid>https://adityatelange.in/blog/aosp/aosp-setting-up-build-environment/</guid><description>AOSP requires some dependencies and libraries in-order to build properly. This post explains how to set that up</description></item><item><title>Getting Started - AOSP Rom Development</title><link>https://adityatelange.in/blog/aosp/aosp-getting-started/</link><pubDate>Mon, 13 Apr 2020 00:00:00 +0000</pubDate><guid>https://adityatelange.in/blog/aosp/aosp-getting-started/</guid><description>The Introduction to what AOSP is</description></item><item><title>Using Secure HTTP Headers with Vercel/Zeit</title><link>https://adityatelange.in/blog/adding-secure-http-headers-and-404-to-zeit-deployment/</link><pubDate>Tue, 07 Jan 2020 13:16:38 +0000</pubDate><guid>https://adityatelange.in/blog/adding-secure-http-headers-and-404-to-zeit-deployment/</guid><description>About Secure HTTP Headers with a guide to adding it to Vercel/Zeit deployments</description></item><item><title>About Me</title><link>https://adityatelange.in/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/about/</guid><description>&lt;img loading="eager" decoding="sync" width=100px title="Common profile picture you will see everywhere" src="https://www.gravatar.com/avatar/3cf2888c10e08b09de126d618288a908?s=256" alt="Common profile picture for online presence" style="float: right;margin: 10px;border-radius: 11px"&gt;
&lt;p&gt;&lt;strong&gt;Hi there!&lt;/strong&gt; My name is Aditya Telange.
This website serves as my digital portfolio and learning journal. Here, I document my cybersecurity journey, share technical insights, and contribute to the community.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://adityatelange.in/archive/"&gt;Archive&lt;/a&gt; page holds a list of all posts, or you can use &lt;a href="https://adityatelange.in/search/"&gt;Search&lt;/a&gt;, &lt;a href="https://adityatelange.in/tags/"&gt;Tags&lt;/a&gt;, or &lt;a href="https://adityatelange.in/graph/"&gt;Graph&lt;/a&gt; to find pages about specific keywords.
I write &lt;a href="https://adityatelange.in/blog/"&gt;blogs&lt;/a&gt; on a broad range of topics. I also write &lt;a href="https://adityatelange.in/writeups/"&gt;writeups&lt;/a&gt; on CTF challenges I solve on platforms such as HackTheBox and Cryptohack.&lt;/p&gt;</description></item><item><title>Education and Certifications</title><link>https://adityatelange.in/education/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/education/</guid><description>Education and certifications, some of which may not be reflected on my resume.</description></item><item><title>Graph View</title><link>https://adityatelange.in/graph/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/graph/</guid><description/></item><item><title>License</title><link>https://adityatelange.in/license/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/license/</guid><description>Copyright – adityatelange.in</description></item><item><title>Links</title><link>https://adityatelange.in/links/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/links/</guid><description/></item><item><title>Personal Projects</title><link>https://adityatelange.in/projects/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/projects/</guid><description>A curated, unordered list of my personal projects spanning open-source and private work, with no ranking by popularity or time.</description></item><item><title>Privacy Policy</title><link>https://adityatelange.in/privacy/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/privacy/</guid><description>Read the Privacy Policy for adityatelange.in. Learn how your data is handled, what information is collected, and your rights regarding privacy.</description></item><item><title>Resume - Aditya Telange</title><link>https://adityatelange.in/cv/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/cv/</guid><description/></item><item><title>Security Acknowledgements</title><link>https://adityatelange.in/hof/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.in/hof/</guid><description>List of security acknowledgements I am part of, in chronological order</description></item></channel></rss>