Jump to content
alexandruth

Generator de numere de telefon mobile

Recommended Posts

Posted (edited)

Din plictiseal?, am f?cut un generator de numere de telefon mobile (batch). Pute?i s? v? alege?i operatorul (Zapp, Orange, Cosmote, Vodafone, Digi Mobil). Ordinea este total aleatoare ?i pot ap?rea duplicate. Numerele sunt scrise într-un fi?ier text cu un nume ales de voi. Nu e cine ?tie ce, dar poate va ajuta pe cineva.

Virustotal: https://www.virustotal.com/en/file/7311ac4769f0eaa173bb28ca857a5b9b3acfe3fb62fa33742168b4030c473254/analysis/1401554458/

Download: https://mega.co.nz/#!qshinQpY!8uWqbLQ7JlIX-6U7GzqIBSqaza89A9zUwf6H1CqTTjs

Update 1.1:

-aspect schimbat

-algoritm îmbun?t??it

-eliminare pictogram?

-redimensionare

-alte aspecte m?runte

Edited by alexandruth
Posted

Mda...

Ar putea fi util .Daca vrei sa dai cu hashcat, pe un handshake la care banuiesti ca parola wpa/wpa2 e un numar de telefon...

Dar in cazul asta , ordinea aleatoare si duplicatele sunt punctele slabe al unui astfel de dictionar .

Daca , din plictiseala , ai elimina punctele slabe , sa stii ca as fi amator sa iau generatorul :P

Posted (edited)

#include <fstream>
using namespace std;

int main ()
{
ofstream x;
long i;
x.open ("numere.txt");
for (i=1;i<=9;i++) x<<"070000000"<<i<<"\n";
for (i=10;i<=99;i++) x<<"07000000"<<i<<"\n";
for (i=100;i<=999;i++) x<<"0700000"<<i<<"\n";
for (i=1000;i<=9999;i++) x<<"070000"<<i<<"\n";
for (i=10000;i<=99999;i++) x<<"07000"<<i<<"\n";
for (i=100000;i<=999999;i++) x<<"0700"<<i<<"\n";
for (i=1000000;i<=9999999;i++) x<<"070"<<i<<"\n";
for (i=10000000;i<=99999999;i++) x<<"07"<<i<<"\n";
x.close ();
return 0;
}

@sorelian, ruleaz?-l în Code :: Blocks. :)

Aici ai varianta arhivat?: https://mega.co.nz/#!uw4khDgZ!hC_KexZqZCpbL3ASSVYloV6VLr_dyMH822x82hx-GFk (9.4MB)

Varianta nearhivat? are 1.11GB.

Edited by alexandruth
  • Active Members
Posted

Ceva putin mai lizibil fata de cele 100 de for-uri ale "colegului":


import random

def function(x):
for i in range(x):
nr1 = 720000000
nr2 = 799999999

a = random.randint(nr1, nr2)
b = '0' + str(a)

print b

function(10) # introduceti cate numere vreti (acum se genereaza 10 numere de telefon)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...