Skip to content

Instantly share code, notes, and snippets.

View ajtazer's full-sized avatar
:bowtie:

Anuj Rawat ajtazer

:bowtie:
View GitHub Profile
@ajtazer
ajtazer / swisseph-stack-overflow-advisory.md
Created November 14, 2026 19:44
Stack-based buffer overflow (CWE-121) in Swiss Ephemeris (libswe) / pyswisseph via swe_vis_limit_mag object name

Stack-based buffer overflow in Swiss Ephemeris (libswe) / pyswisseph via swe_vis_limit_mag object name

  • Affected: Swiss Ephemeris (libswe) ≤ 2.10.03 (commit 696bda4) and prior; pyswisseph ≤ 2.10.3.2 and prior (bundles libswe)
  • Component: swehel.c — DeterObject(), call_swe_fixstar(), call_swe_fixstar_mag()
  • Reached via public API: swe_vis_limit_mag(), swe_topo_arcus_visionis(), swe_heliacal_angle() (Python: swisseph.vis_limit_mag() etc.)
  • Type: CWE-121 Stack-based Buffer Overflow
  • Severity: 7.8 High (local) — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. On default/hardened -fstack-protector builds the realized impact is a reliable process abort (DoS, ~6.2); code execution applies to builds without stack protection. AV:N only where an application forwards untrusted input to the affected parameter.
  • Discoverer: Anuj Rawat (@ajtazer)
  • CVE: requested from MITRE (pending)
@ajtazer
ajtazer / linkedin-bulk-add-skills.js
Created October 16, 2026 11:10
LinkedIn Bulk Add Skills — JavaScript console script for adding a list of skills to your LinkedIn profile, picking LinkedIn's matching suggestions, and skipping skills you already have.
(async () => {
"use strict";
/*
* LinkedIn Dynamic Skill Adder v1.3
* Author: TAZER (@ajtazer)
*
* Run on your Skills page (linkedin.com/in/<you>/details/skills/)
* or your profile. On the Skills page it reads your whole list
* first, so re-runs skip everything you already have.
@ajtazer
ajtazer / linkedin-bulk-delete-skills.js
Last active October 16, 2026 11:12
LinkedIn Bulk Delete Skills — JavaScript console script for removing all skills from your LinkedIn profile, keeping the ones you choose, and cleaning up your profile in one run.
(async () => {
"use strict";
/*
* LinkedIn Dynamic Skill Remover v1.1
* Author: TAZER (@ajtazer)
*
* Run on your Skills page:
* linkedin.com/in/<you>/details/skills/
*
@ajtazer
ajtazer / linkedin-bulk-select-connections.js
Last active October 11, 2026 11:14
LinkedIn Bulk Select & Auto Load Connections — JavaScript console script for bulk selecting LinkedIn profiles, automatically loading more connection results, and simplifying LinkedIn connection management.
(async () => {
"use strict";
/*
* LinkedIn Dynamic Connection Selector v3.0
* Author: TAZER (@ajtazer)
*
* Detects connections by profile structure,
* checkbox semantics, and accessible labels.
@ajtazer
ajtazer / What's Actually Inside Claude's Cloud? I Cracked It Open and Listed Every Spec.md
Created June 14, 2026 11:51
A live teardown of the cloud box running Claude Code: CPU, RAM, root access, toolchain, and the allowlist firewall that blocks the open web.

I Tore Open Anthropic's "Claude Cloud" Sandbox — Here's Exactly What's Inside the Machine Running Your AI

4 Xeon cores, 15 gigs of RAM, root access, and a firewall that quietly says "no." I ran the commands so you don't have to.


Everyone's talking about Claude Code running "in the cloud" now. You fire off a task from your phone, close the app, and somewhere a machine spins up, clones your repo, and does the work. But nobody tells you what that machine actually is.

So I did the obvious thing. I asked it to profile itself — CPU, memory, disk, network, the firewall, the limits, all of it — and dumped every result. No marketing slides. Just lscpu, free -h, /proc, and a pile of curl probes against the egress firewall.

@ajtazer
ajtazer / DatasetOrderOptimization.md
Created December 7, 2025 12:39
AMAZON OA CODE SOLUTIONS | ALL TEST CASES PASSED

Amazon Robotics is optimizing the dataset shipment process.
You are given a binary string shipmentData consisting only of '0' and '1'.

Process Definition: Start with an empty finalSequence.

For each character c in shipmentData from left to right:

  1. Append c to finalSequence
  2. Reverse the entire finalSequence
@ajtazer
ajtazer / build_hangover_montage.py
Created October 4, 2025 13:38
`build_hangover_montage.py` creates a video montage from images and videos, synced to a chosen audio track. It processes images (portrait or landscape) by resizing, cropping, or adding a blurred background. Videos are either kept at their original length, sped up, or split into chunks. The final montage is adjusted to the audio's duration and sa…
import os
import random
import logging
from typing import List, Tuple, Optional
from pathlib import Path
import numpy as np
from PIL import Image, ImageFilter
# Try to enable HEIC support if pillow-heif is available
@ajtazer
ajtazer / InstaCurl.sh
Created June 3, 2025 10:18
Export your Instagram cookies in Netscape format using a browser extension like Cookie-Editor (choose Netscape format on export). Run the script and enter the full path to your cookie file and the Instagram username (without @) when prompted. The script fetches and downloads reels/videos from that user’s posts using your authenticated session.
#!/bin/bash
# Prompt for cookie file path (Netscape format)
read -p "Enter path to your cookies file (Netscape format): " COOKIE_FILE
if [[ ! -f "$COOKIE_FILE" ]]; then
echo "Cookie file not found! Exiting."
exit 1
fi
# Prompt for username (no @)
@ajtazer
ajtazer / yt-adhd.js
Created April 30, 2024 16:33
if anyone is like me and gets distracted from the lecture playlist often, paste this code in your browser console, and it will auto play the video 15 secs after you pausing it. Works great for my adhd.
async function checkAndResumeVideo() {
const videoElement = document.querySelector('video');
if (videoElement) {
if (videoElement.paused) {
await new Promise(resolve => setTimeout(resolve, 15000));//apne hisaab se time change karlo
videoElement.play();
@ajtazer
ajtazer / Cybersecurity AI Enabler Intern Interview
Created July 26, 2023 15:47
Cybersecurity AI Enabler Intern Interview for RediMind
Question: Tell us about a cybersecurity project or task you've worked on, highlighting any aspects that involved AI or ML.
Answer: I've worked on two cybersecurity projects:
RAT Testing: Testing various Remote Access Trojans (RATs) on different platforms and analyzing their code for features and vulnerabilities.
Emotion Detection using AI: Developing a machine learning model for emotion detection from facial expressions with over 90% accuracy.
Question: Describe a cybersecurity challenge you faced and how you addressed it. How did this experience contribute to your understanding of the field?
Answer: I participated in the IIT Roorkee CTF event and creatively gained root access to a Linux system. This taught me the importance of creativity, understanding system mechanics, and tools/techniques.