Hackernews In Your Inbox

2024-08-25 1 min read Bash Python Scripting Learning Hacking News

If you do not want to subscribe to any newsletter but still want to get some news delivered to you inbox then this post is for you.

First you need to get a script that can pull the hacker-news articles for you and you can find my script here. You can modify this script, specially the line: for id in trending_list[:50]: to change the number of posts that you would like to see in the mail.

Continue reading

Windows msc files

2024-08-04 2 min read Windows OS

MSC files are snap-in control files that are associated with the Microsoft Management Console on Windows machines to run administrative tasks. Here is a list of msc files that you can find in Windows.

MSC File Console Name Details
azman.msc Authorization Manager Manage Authorization Stores
certlm.msc Certificates Local Computer Loads the list of certificates of the local computer
certmgr.msc Certificates Loads the list of certificates of the user
comexp.msc Component Services Loads Component Services Event Viewer and Services
compmgmt.msc Computer Management Includes System Tools (Task Scheduler, Event Viewer, Shared Folders, Local Users and Groups, Performance and Device Manager) Storage (Disk Management) and Services and Applications (Services and WMI Control)
devmgmt.msc Device Manager Opens the Device Manager to manage hardware and devices
devmoderunasuserconfig.msc To manage the Start Menu Taskbar and Notification settings
diskmgmt.msc Disk Management Opens Disk Management to administrate connected storage devices
eventvwr.msc Event Viewer Opens the Event Viewer which displays the operating system software and hardware events
fsmgmt.msc Shared Folders Loads the list of shared folders sessions and open files
gpedit.msc Group Policy Editor Loads Group Policy Editor to manage system policies
lusrmgr.msc Local Users and Groups Interface to manage local users and user groups
perfmon.msc Performance Monitor Loads Windows Performance Monitor
printmanagement.msc Print Management Manage printers
rsop.msc Resultant Set of Policies List policies full results only available through command-line tool gpresult
secpol.msc Local Security Policy Loads policies such as account policies public key policies or advanced audit policy configuration
services.msc Services Manager Loads the list of installed services to manage them.
taskschd.msc Task Scheduler Loads the Task Scheduler to manage tasks
tpm.msc Trusted Platform Module Management Manage the TPM on the local device.
wf.msc Windows Firewall Starts Windows Firewall with Advanced Security
wmimgmt.msc WMI Management Configure and Control the Windows Management Instrumentation Service

Short url to full url

2024-06-19 3 min read Bash Linux Networking

Most of the Social sites will shorten the links. There are a lot of ways to check the url before you go to the url and get phished :)

For example, for bitly you can just add a ‘+’ at the end of the url. For example, you can enter the following in url bar https://bit.ly/2KEOXNx+ and see the details of the where the url takes you. This is just a example url that I got from google but you get the idea.

Continue reading

Bash script performance issue and remediation

2024-06-17 5 min read Bash Performance Linux

I was looking at writing some output to files. The output did not vary much but the number of lines was huge. It was long time back so I dont remember the context of the requirement but I needed to write few million lines of text. The quickest way to do this was bash so I wrote a simple script that could do this. To my astonishment, I could see the script much more time than expected, so here is how I debugged the issue and fixed it.

Continue reading

Preparation and Review of eMAPT (INE security FKA eLearnSecurity Mobile Application Penetration Tester

I started thinking about Mobile pentesting sometime back. Finally in Feb/2024, I paid for the yearly subscription for INE and added eMAPT to my cart. If you dont know about eMAPT cert, then head over to eMAPT certification. And as per their home page

The Mobile Application Penetration Tester (eMAPT) certification is issued to cyber security experts that display advanced mobile application security knowledge through a scenario-based exam.

And on Apr/05/2024, I got My Certificate. My Certificate

Continue reading

Run X11 applications on docker or podman

2024-03-29 1 min read Linux Networking Docker Containers

Found x11docker project in github. This is a very nice project if you are trying to run GUI applications in dockers. It takes the hassle out and helps you run the GUI applications very easily in docker.

Whats more, if you are on Fedora, you are in luck. You can install this tool with

1
sudo dnf install x11docker

and if you are not on Fedora, then head over to their github. Some other distributions also have it packaged but otherwise also it is very simple to install.

Continue reading

Show Local IP

2023-12-23 1 min read Linux Networking

Show local IP

You can see the local IP of the machine with the command - ip a. However if you have to use the address in some variable in a scrit. It becomes little tricky, something like

  • Show the interfaces in one line with ‘-o’
  • Show only IPv4 address’s with ‘-4’

and the command looks like

1
ip -4 -o a show dev eth0|awk '{gsub(/\/.*/,"",$4);print $4}'

Replace eth0 with then correct interface name.

Continue reading
Older posts Newer posts