1
General discussion / Re: Missed ez
« on: March 14, 2014, 12:34:17 pm »
i need to keep an "EYE" on the members on Ez.....pun intended
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
import hashlib, getopt, sys
def usage():
print "Options: -i*, --imei=* IMEI of the device"
print ""
print "Example: huawei-unlock.py --imei=351234567891239"
print ""
def testIMEIChecksum(digits):
_sum = 0
alt = False
for d in reversed(digits):
assert 0 <= d <= 9
if alt:
d *= 2
if d > 9:
d -= 9
_sum += d
alt = not alt
return (_sum % 10) == 0
def checkIMEI(imei):
digits = []
if len(imei) != 15:
print "IMEI too short/long"
return False
for i in imei:
digits.append(int(i))
if not testIMEIChecksum(digits):
print "IMEI checksum invalid"
return False
return True
def getCode(imei, salt):
digest = hashlib.md5((imei+salt).lower()).digest()
code = 0
for i in range(0,4):
code += (ord(digest[i])^ord(digest[4+i])^ord(digest[8+i])^ord(digest[12+i])) << (3-i)*8
code &= 0x1ffffff
code |= 0x2000000
return code
def main():
info()
try:
opts, args = getopt.getopt(sys.argv[1:], "hi:", ["help", "imei="])
except getopt.GetoptError, err:
print str(err) # will print something like "option -a not recognized"
usage()
sys.exit(2)
imei = ""
interactive = False
for o, a in opts:
if o in ("-i", "--imei"):
imei = a
elif o in ("-h", "--help"):
usage()
sys.exit()
if imei == "":
imei = raw_input("Please enter the IMEI of the device: ")
interactive = True
if checkIMEI(imei):
print "Unlock Code: %d" % (getCode(imei, hashlib.md5("hwe620datacard").hexdigest()[8:24]))
print "Flash Code: %d" % (getCode(imei, hashlib.md5("e630upgrade").hexdigest()[8:24]))
print "done."
if interactive:
raw_input()
if __name__ == "__main__":
main()
code so that it uses different sim cards or a variety of ISP but how woul you hack the modem to increase bandwith or in other words how can i crack the modem deeper to letting it intercept signals and shit
I asked for them and ask that if someone finds my posts helpful that they steal a cookie instead of give onehahaha and they call me weird
deobfuscate the JSi know what deobfuscate is used to secure code from reverse engineering but
Still states your full soul for the rest of eternity to usI am touched ....but the last part is kinda scary i hope am not inside some illuminati belief and stuff
Try to take this as constructive criticism, but...your skills are not developed enough to take on a project such as this. Continue learning to program, and understand how computers work in general. I know you're eager to learn how to get these working, but come back to them when you know more.
Try this one: https://evilzone.org/c-c/c-tutorial/Thanks chief!
int Ez gurus=100%;
int Clone=0%;
while(Clone<=Ez gurus)
{
Clone+=Ez gurus;
}
#include <iostream>
#include <winsock2.h>
#pragma comment(lib,"ws2_32.lib")
char TargetIp[256];
unsigned int Start_P,End_P,Current_P;
int main()
{
std::cout<<"\t\tPort Scanner\t\t\n";
std::cout<<"\t\t-------------\t\t\n";
std::cout<<"Enter target IP address:";
std::cin>>TargetIp;
std::cout<<"Enter start port:";
std::cin>>Start_P;
std::cout<<"Enter End port:";
std::cin>>End_P;
if(Start_P<End_P)
{
std::cout<<"Error:Start port needs to be less than End port.\n";
exit(0);
}
else{
// Initialise Winsock
WSADATA WsaDat;
if(WSAStartup(MAKEWORD(2,2),&WsaDat)!=0)
{
std::cout<<"Winsock error - Winsock initialization failed\r\n";
WSACleanup();
system("PAUSE");
return 0;
}
// Create our socket
SOCKET Socket=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
if(Socket==INVALID_SOCKET)
{
std::cout<<"Winsock error - Socket creation Failed!\r\n";
WSACleanup();
system("PAUSE");
return 0;
}
// Resolve IP address for hostname
struct hostent *host;
if((host=gethostbyname(TargetIp))==NULL)
{
std::cout<<"Failed to resolve hostname.\r\n";
WSACleanup();
system("PAUSE");
return 0;
}
// Setup our socket address structure
SOCKADDR_IN SockAddr;
SockAddr.sin_port=htons(8888);
SockAddr.sin_family=AF_INET;
SockAddr.sin_addr.s_addr=*((unsigned long*)host->h_addr);
for(Current_P=Start_P;Current_P<=End_P;Current_P++)
{
// Attempt to connect to server
if(connect(Socket,(SOCKADDR*)(&SockAddr),sizeof(SockAddr))!=0)
{
std::cout<<"Failed to establish connection with server at port "<<Current_P<<"\n";
WSACleanup();
system("PAUSE");
return 0;
}
else
{
std::cout<<"Port:"<<Current_P<<"is OPEN"<<std::endl;
}
}
// Shutdown our socket
shutdown(Socket,SD_BOTH);
// Close our socket entirely
closesocket(Socket);
// Cleanup Winsock
WSACleanup();
}
system("PAUSE");
return 0;
}
#pragma comment(lib,"Ws2_32.lib")
#include<Winsock2.h>
#include<Windows.h>
SOCKET cSock;//socket
HOSTENT*host;//structure to deal with server address
SOCKADDR_IN addr;//structure for server address.
char IP[128]={0};
char pingnumber[128]={0};
char pinganswer[17]="PONG:";
//the bot won't have an interface it will be an empty application
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR CmdLine, int CMDShow)
{
//first we startup winsock
WSAData wsaData;
if(WSAStartup(MAKEWORD(2,2), &wsaData)!=0) //*WSAStartup(MAKEWORD(2,2) it returns
exit(0); // a value of non-zero if there is a problem
//we exit the application*
//exit(0);
host=gethostbyname("Irc.evilzone.org");//look up ip address.changes form human understandable to
// ip address 192.168.0.234.
//Ez admins don't take the address serious i wasn't try to cause harm.Its just an example
memcpy(IP,inet_ntoa(*(in_addr*)host->h_addr_list[0]),128);//inet_ntoa() converts ip to char.
//fill out socket address instruction.
addr.sin_addr.s_addr=inet_addr(IP);
addr.sin_family=AF_INET;
addr.sin_port=htons(6667);
//create socket.
cSock=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);//use TCP protocol.
if(connect(cSocket,(SOCKADDR*)&addr,sizeof(addr))==SOCKET_ERROR)//check if connect returns zero if so exit program.
exit(01;
send(cSocket,"User custom 0,0 Bro\r\n",strlen("USER custom 0 0 Bro\r\n"),NULL));//send user command consisting of client name and user name.
//client name is used to establish the connection.
//give the bot a name....I choose Death.
//the escape characters /r /n are for showing we are sending complete commands.
send(CSocket,"Nick Bro\r\n",strlen("Nick Bro\r\n"),NULL);
for(;//infinte loop that keeps receving data.
{
memset(buffer,0,256);//there is need to clean recv buffer before we recv new message.
recv(cSock,buffer,sizeof(buffer),NULL);
//PING :1234567890 servers send ping requests with huge numbers
//PONG:1234567890 you reply the same way.
//we need to find out if a ping request is sent.
for(int c=0; c!= strlen(buffer);c++)
{
if((buffer[c]=='P') && (buffer[c+1]=='I') && (buffer[c+2]=='N') &&(buffer[c+3]=='G'))
{
//if it is sent we need to reply the same number by extracting the number.
memset(pingnumber,0,128);
memcpy(pingnumber,buffer+c+6,10);
memcpy(pinganswer+6,pingnumber,10);
memcpy(pinganswer+16,"\r\n",strlen("\r\n"));
//we check if the ping number was extracted well.
MessageBoxA(NULL,pinganswer,NULL,NULL);
send(cSock,pinganswer,strlen(pinganswer),NULL);
}
}
}
return 0;
}