Skip to content

Instantly share code, notes, and snippets.

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

Silvio Giunge a.k.a kanazuchi kanazux

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
# $FreeBSD$
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2018-08-12 23:29+0000\n"
"PO-Revision-Date: 2018-08-15 18:19-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
This file has been truncated, but you can view the full file.
# $FreeBSD$
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2018-08-12 23:29+0000\n"
"PO-Revision-Date: 2018-08-15 00:52-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Merge two pot files.
Read each file and create a defaultdict with data and search for fuzzy data
on the master file.
"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Convert data in format [month day, year]
# to BR format [dia de [mes] de [ano]].
# Probably useless to any people if not me
#
# Author: Kanazuchi <contato at kanazcuhi.com>
# Yeah, i have nerve to put my name in this.
#
@kanazux
kanazux / install_radare.sh
Last active January 16, 2020 22:33
Install radare2 on fedora
#!/bin/sh
#
# Install radare2 on fedora
# All tks to my friend Neriberto (@neriberto)[https://github.com/neriberto]
#
R2_VERSION=master
# R2pipe python version
R2_PIPE_PY_VERSION=0.8.9
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import time
from subprocess import check_output
def cpu_percent():
tmp_total = 0
import socket
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(('127.0.0.1', 36547))
import socket
server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
#!/usr/bin/env python3
# -*- codinf: utf-8 -*-
"""
Client to send data to socket server.
This client will send urls to be classified.
"""
import sys
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Collect data from clients with urls to classify.
This server daemon will use port 60001 to listen connections.
Will save data with date and name of client.
"""