Skip to content

Instantly share code, notes, and snippets.

View ardzz's full-sized avatar
🏠
Working from home

Naufal Reky Ardhana ardzz

🏠
Working from home
  • Politeknik Negeri Semarang
  • Semarang
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ardzz
ardzz / amass2nuclei.py
Created January 23, 2024 03:19
Amass output cleaner
subdomains = open('subdomains.txt', 'r').read()
removable_chars = [
'', '[92m', '[0m', '[91m', '[93m', '[94m', '[95m', '[96m', '[97m', '[90m', '[1m', '[4m', '[5m', '[7m', '[8m',
'[0;0m', '[0;1m', '[0;2m', '[0;3m', '[0;4m', '[0;5m', '[0;6m', '[0;7m', '[0;8m', '[0;9m', '[0;10m', '[0;11m',
'[0;12m', '[0;13m', '[0;14m', '[0;15m', '[0;16m', '[0;17m', '[0;18m', '[0;19m', '[0;20m', '[0;21m', '[0;22m',
'[0;23m', '[0;24m', '[0;25m', '[0;26m', '[0;27m', '[0;28m', '[0;29m', '[0;30m', '[0;31m', '[0;32m', '[0;33m',
'[0;34m', '[0;35m', '[0;36m', '[0;37m', '[0;38m', '[0;39m', '[0;40m', '[0;41m', '[0;42m', '[0;43m', '[0;44m',
'[0;45m', '[0;46m', '[0;47m', '[0;48m', '[0;49m', '[0;50m', '[0;51m', '[0;52m', '[0;53m', '[0;54m', '[0;55m',
'[0;56m', '[0;57m', '[0;58m', '[0;59m', '[0;60m', '[0;61m', '[0;62m', '[0;63m', '[0;64m', '[0;65m', '[0;66m',
'[0;67m', '[0;68m', '[0;69m', '[0;70m', '[0;71m', '[0;72m', '[0;73m',
@ardzz
ardzz / helper-ardan.ipynb
Created January 18, 2024 08:38
helper : ardan.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ardzz
ardzz / decision_maker.dart
Created September 18, 2023 09:42
Challenge 3 & 4 (Naufal Reky Ardhana - 4.33.22.0.21)
import 'dart:io';
import 'package:minggu_2/minggu_2.dart' as minggu_2;
void main(List<String> arguments) {
int? nilai = inputNilai();
if (nilai != null) {
print("output menggunakan if else");
if (nilai >= 91 && nilai <= 100) {
print('Sangat Baik');
# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
import os
import subprocess
import time
from ftplib import FTP
from rich import print
from rich.live import Live
from rich.panel import Panel
from rich.table import Table
ftp_config = {
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'crud.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
"""
from pwn import *
"""
@author: reky_suka_kucing_floppa
"""
class MrBin:
def __init__(self, host, port, debug=False):
self.io = remote(host, port)
from pwn import *
"""
@author: reky_suka_kucing_floppa
"""
class MrDecryptor:
def __init__(self, text: str):
self.string = text
from scapy.all import *
if len(sys.argv) < 2:
print("Usage: python3 parser.py <pcap file> --prefix-flag=FROG")
sys.exit(1)
# check if file exists
if not os.path.isfile(sys.argv[1]):
print("File does not exist")
sys.exit(1)