Jump to content

Search the Community

Showing results for tags '.net'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Informatii generale
    • Anunturi importante
    • Bine ai venit
    • Proiecte RST
  • Sectiunea tehnica
    • Exploituri
    • Challenges (CTF)
    • Bug Bounty
    • Programare
    • Securitate web
    • Reverse engineering & exploit development
    • Mobile security
    • Sisteme de operare si discutii hardware
    • Electronica
    • Wireless Pentesting
    • Black SEO & monetizare
  • Tutoriale
    • Tutoriale in romana
    • Tutoriale in engleza
    • Tutoriale video
  • Programe
    • Programe hacking
    • Programe securitate
    • Programe utile
    • Free stuff
  • Discutii generale
    • RST Market
    • Off-topic
    • Discutii incepatori
    • Stiri securitate
    • Linkuri
    • Cosul de gunoi
  • Club Test's Topics
  • Clubul saraciei absolute's Topics
  • Chernobyl Hackers's Topics
  • Programming & Fun's Jokes / Funny pictures (programming related!)
  • Programming & Fun's Programming
  • Programming & Fun's Programming challenges
  • Bani pă net's Topics
  • Cumparaturi online's Topics
  • Web Development's Forum
  • 3D Print's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber


Skype


Location


Interests


Biography


Location


Interests


Occupation

Found 9 results

  1. Web Hosting, Registration of cheap domains | Internet websites services | 1&1
  2. I am trying to make a C# Chat. So far i have been able to work on getting the 2 clients to work together and send notification using the notifyicon. now What i want to achieve is something done by yahoo messenger. If i am online and dont have a messenger window on (if i am not talking to anyone) and someone sends me a message on LAN, I should be able to receive a new Message window. My code looks like this : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Net.Sockets; using System.Net; namespace ChatTestNowx { public partial class Form1 : Form { Socket sock; EndPoint epLocal, epRemote; byte[] buffer; public Form1() { InitializeComponent(); } private void groupBox2_Enter(object sender, EventArgs e) { } private void Form1_Load(object sender, EventArgs e) { sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); sock.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true); pc1IP.Text = GetLocalIP(); Pc2IP.Text = GetLocalIP(); Message.KeyDown += new KeyEventHandler(MyKeyDownFunction); // Event to open new chat window on PC } //Message.KeyDown += new KeyEventHandler(MyKeyDownFunction); private void MyKeyDownFunction(object sender, KeyEventArgs e) { // Open new Chat window and show chat information } private void MessageCallBack(IAsyncResult aResult) { try { byte[] receivedData = new byte[1500]; receivedData = (byte[])aResult.AsyncState; ASCIIEncoding asc = new ASCIIEncoding(); string recievedMsg = asc.GetString(receivedData); listMessage.Items.Add("Friend:" + recievedMsg); buffer = new byte[1500]; sock.BeginReceiveFrom(buffer, 0, buffer.Length, SocketFlags.None, ref epRemote, new AsyncCallback(MessageCallBack), buffer); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } } private void send_btn_Click(object sender, EventArgs e) { ASCIIEncoding aec = new ASCIIEncoding(); byte[] sendingMessage = new byte[1500]; sendingMessage = aec.GetBytes(Message.Text); sock.Send(sendingMessage); listMessage.Items.Add("Me :" + Message.Text); Message.Text = ""; } private string GetLocalIP() { IPHostEntry host; host = Dns.GetHostEntry(Dns.GetHostName()); foreach (IPAddress ip in host.AddressList) { if (ip.AddressFamily == AddressFamily.InterNetwork) { return ip.ToString(); } } return "127.0.0.1"; } private void Message_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { //this.WindowState = FormWindowState.Normal; ASCIIEncoding aec = new ASCIIEncoding(); byte[] sendingMessage = new byte[1500]; sendingMessage = aec.GetBytes(Message.Text); sock.Send(sendingMessage); listMessage.Items.Add("Me :" + Message.Text); Message.Text = ""; } } private void connect_btn_Click(object sender, EventArgs e) { epLocal = new IPEndPoint(IPAddress.Parse(pc1IP.Text), Convert.ToInt32(pc1Port.Text)); sock.Bind(epLocal); epRemote = new IPEndPoint(IPAddress.Parse(Pc2IP.Text), Convert.ToInt32(Pc2Port.Text)); sock.Connect(epRemote); buffer = new byte[1500]; sock.BeginReceiveFrom(buffer, 0, buffer.Length, SocketFlags.None, ref epRemote, new AsyncCallback(MessageCallBack), buffer); connect_btn.Text = "&Connected!"; connect_btn.Enabled = false; } } } What i have tried so far, I created events. And wanted to use this event only it does not work as i expected i added this and it does not work as i expected , hence i had to take it out. if (e.KeyCode == Keys.Enter) { Form1 frm = new Form1(); frm.Show(); ASCIIEncoding aec = new ASCIIEncoding(); byte[] sendingMessage = new byte[1500]; sendingMessage = aec.GetBytes(Message.Text); //sock.Send(sendingMessage); listMessage.Items.Add("Me :" + Message.Text); Message.Text = ""; }
  3. Salut, Am vrut sa lucrez ceva in .NET si fiind inspirat de encoderul de pe Crypo.com si de toolul lui Gecko am decis sa scriu aceasta aplicatie. E simplu de folosit si isi face treaba... Suporta urmatorii algoritmi: Reverse Hexadecimal Binary ASCII Base64 Caesar MD5 SHA RC4 AES ROT13 ATOM128 Aici aveti un screenshot cu aplicatia: http://i.imgur.com/XgxdTTL.png Download de pe site-ul meu: http://adrenalinetech.xyz/downloads/CipherGuru/ Sursa pe github: https://github.com/adrenalinetech/CipherGuru Daca aveti nemultumiri sau vreti sa adaug un algoritm va rog sa imi spuneti. Multumesc.
  4. Salut, Am o intrebare pentru voi astia care sunteti mai capabili... Cum pot modifica fieldul asta? Am gasit cod care modifica astea de sus, se foloseste de API-ul WinInet, dar nu ma duce capul cum pot sa modific doar fieldul Socks... Codul sursa este asta: Imports System Imports System.Runtime.InteropServices Public Class IEProxy Public Enum Options INTERNET_PER_CONN_FLAGS = 1 INTERNET_PER_CONN_PROXY_SERVER = 2 INTERNET_PER_CONN_PROXY_BYPASS = 3 INTERNET_PER_CONN_AUTOCONFIG_URL = 4 INTERNET_PER_CONN_AUTODISCOVERY_FLAGS = 5 INTERNET_OPTION_REFRESH = 37 INTERNET_OPTION_PER_CONNECTION_OPTION = 75 INTERNET_OPTION_SETTINGS_CHANGED = 39 PROXY_TYPE_PROXY = &H2 PROXY_TYPE_DIRECT = &H1 End Enum <StructLayout(LayoutKind.Sequential)> _ Private Class FILETIME Public dwLowDateTime As Integer Public dwHighDateTime As Integer End Class <StructLayout(LayoutKind.Explicit, Size:=12)> _ Private Structure INTERNET_PER_CONN_OPTION <FieldOffset(0)> Dim dwOption As Integer <FieldOffset(4)> Dim dwValue As Integer <FieldOffset(4)> Dim pszValue As IntPtr <FieldOffset(4)> Dim ftValue As IntPtr Public Function GetBytes() As Byte() Dim b(12) As Byte BitConverter.GetBytes(dwOption).CopyTo(b, 0) Select Case dwOption Case (Options.INTERNET_PER_CONN_FLAGS) BitConverter.GetBytes(dwValue).CopyTo(b, 4) Case (Options.INTERNET_PER_CONN_PROXY_BYPASS) BitConverter.GetBytes(pszValue.ToInt32()).CopyTo(b, 4) Case (Options.INTERNET_PER_CONN_PROXY_SERVER) BitConverter.GetBytes(pszValue.ToInt32()).CopyTo(b, 4) End Select Return (b) End Function End Structure <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _ Private Class INTERNET_PER_CONN_OPTION_LIST Public dwSize As Integer Public pszConnection As String Public dwOptionCount As Integer Public dwOptionError As Integer Public pOptions As IntPtr End Class <StructLayout(LayoutKind.Sequential)> _ Private Class INTERNET_PROXY_INFO Public dwAccessType As Integer Public lpszProxy As IntPtr Public lpszProxyBypass As IntPtr End Class Private Const ERROR_INSUFFICIENT_BUFFER = 122 Private Const INTERNET_OPTION_PROXY = 38 Private Const INTERNET_OPEN_TYPE_DIRECT = 1 <DllImport("wininet.dll")> _ Private Shared Function InternetSetOption(ByVal hInternet As IntPtr, _ ByVal dwOption As Integer, _ ByVal lpBuffer As INTERNET_PER_CONN_OPTION_LIST, _ ByVal dwBufferLength As Integer) As Boolean End Function <DllImport("kernel32.dll")> _ Private Shared Function GetLastError() As Integer End Function Public Function SetProxy(ByVal proxy_full_addr As String) As Boolean Dim bReturn As Boolean Dim list As New INTERNET_PER_CONN_OPTION_LIST Dim dwBufSize As Integer = Marshal.SizeOf(list) Dim opts(3) As INTERNET_PER_CONN_OPTION Dim opt_size As Integer = Marshal.SizeOf(opts(0)) list.dwSize = dwBufSize list.pszConnection = ControlChars.NullChar list.dwOptionCount = 3 'set flags opts(0).dwOption = Options.INTERNET_PER_CONN_FLAGS opts(0).dwValue = Options.PROXY_TYPE_DIRECT Or Options.PROXY_TYPE_PROXY 'set proxyname opts(1).dwOption = Options.INTERNET_PER_CONN_PROXY_SERVER opts(1).pszValue = Marshal.StringToHGlobalAnsi(proxy_full_addr) 'set override opts(2).dwOption = Options.INTERNET_PER_CONN_PROXY_BYPASS opts(2).pszValue = Marshal.StringToHGlobalAnsi("local") Dim b(3 * opt_size) As Byte opts(0).GetBytes().CopyTo(b, 0) opts(1).GetBytes().CopyTo(b, opt_size) opts(2).GetBytes().CopyTo(b, 2 * opt_size) Dim ptr As IntPtr = Marshal.AllocCoTaskMem(3 * opt_size) Marshal.Copy(b, 0, ptr, 3 * opt_size) list.pOptions = ptr 'Set the options on the connection bReturn = InternetSetOption(IntPtr.Zero, Options.INTERNET_OPTION_PER_CONNECTION_OPTION, list, dwBufSize) If Not bReturn Then Debug.WriteLine(GetLastError) End If 'Notify existing Internet Explorer instances that the settings have changed bReturn = InternetSetOption(IntPtr.Zero, Options.INTERNET_OPTION_SETTINGS_CHANGED, Nothing, 0) If Not bReturn Then Debug.WriteLine(GetLastError) End If 'Flush the current IE proxy setting bReturn = InternetSetOption(IntPtr.Zero, Options.INTERNET_OPTION_REFRESH, Nothing, 0) If Not bReturn Then Debug.WriteLine(GetLastError) End If Marshal.FreeHGlobal(opts(1).pszValue) Marshal.FreeHGlobal(opts(2).pszValue) Marshal.FreeCoTaskMem(ptr) Return (bReturn) End Function Public Function DisableProxy() As Boolean Dim bReturn As Boolean Dim list As New INTERNET_PER_CONN_OPTION_LIST Dim dwBufSize As Integer = Marshal.SizeOf(list) Dim opts(0) As INTERNET_PER_CONN_OPTION Dim opt_size As Integer = Marshal.SizeOf(opts(0)) list.dwSize = dwBufSize list.pszConnection = ControlChars.NullChar list.dwOptionCount = 1 opts(0).dwOption = Options.INTERNET_PER_CONN_FLAGS opts(0).dwValue = Options.PROXY_TYPE_DIRECT Dim b(opt_size) As Byte opts(0).GetBytes().CopyTo(b, 0) Dim ptr As IntPtr = Marshal.AllocCoTaskMem(opt_size) Marshal.Copy(b, 0, ptr, opt_size) list.pOptions = ptr 'Set the options on the connection bReturn = InternetSetOption(IntPtr.Zero, Options.INTERNET_OPTION_PER_CONNECTION_OPTION, list, dwBufSize) If Not bReturn Then Debug.WriteLine(GetLastError) End If 'Notify existing Internet Explorer instances that the settings have changed bReturn = InternetSetOption(IntPtr.Zero, Options.INTERNET_OPTION_SETTINGS_CHANGED, Nothing, 0) If Not bReturn Then Debug.WriteLine(GetLastError) End If 'Flush the current IE proxy setting bReturn = InternetSetOption(IntPtr.Zero, Options.INTERNET_OPTION_REFRESH, Nothing, 0) If Not bReturn Then Debug.WriteLine(GetLastError) End If Marshal.FreeCoTaskMem(ptr) Return (bReturn) End Function End Class sProxy.SetProxy("proxy:port") 'setezi proxy sProxy.SetProxy("proxy:port") 'opresti proxy
  5. Domenii .com & .net la numai 0.29Euro / primul an https://www.hostalia.com/
  6. Programatori C# si Java pentru Dell. De asemenea Oracle dba, dev (tot pentru Dell). Trimiteti PM pentru emailul de contact.
  7. Salut si bine ne-am regasit, sau cel putin v-am regasit! Asa cum in ultimul meu topic am spus ca nu voi mai intra aici din cauza unor admini incompetenti, nu am vrut sa las cativa utilizatori cu ochii in soare, asa ca am decis sa fac un mic blog pe blogspot. Scopul este simplu: sa promovez VB .NET in Romania. Mai multe aflati singuri. Bafta si sper sa ne reauzim peste cateva luni (bune!) AFp Romania - VB .NET Romania
  8. Emailuri UK - Yahoo.co.uk Lista 1 - https://www.sendspace.com/file/pgduj7 Lista 2 - https://www.sendspace.com/file/l6w8yb Gmail UK - 5.344 https://www.sendspace.com/file/lk1osn Mailuri selectate pe domeni gen .ca, .dk, ar, af, br, gr etc (eu le-am selectat asa) https://www.sendspace.com/file/clikm7 Emailuri .com - 705.729 https://www.sendspace.com/file/gjqlxr Emailuri .net - 792.846 https://www.sendspace.com/file/amfpck PS: Lista cu emailuri .com si .net sunt mailuri diverse din diferite tari (le-am pus asa sa nu le foloseasca toata lumea) Totusi daca vrei sa iti extragi mailuri dintr-o anumita tara din lista de emailuri .com si .net ai aici cateva domenii pentru inspiratie United Kingdom sky.com btopenworld.com fsmail.net Switzerland humour.com Africa de sud win4win.com Belgium belgique.com Australia bigpond.com PerthMail.com Italia wappi.com katamail.com Spania correu.vilaweb.com lanetro.com orbi.net repsol.com tv3mail.com mailtvc.com sinfo.net sportbarrio.com cataloniamail.com personales.com guay.com mixmail.com Turcia turkey.com tur.net Philipines skyinet.net emailpinoy.com manilatimes.net Thailand bangkok.com lemononline.com chaiyoo.com ethailand.net siammail.com thaimail.com Germany 2xs.net germany.net germanmail.com Singapore my-cna.com Norvegia runbox.com operamail.com Portugalia cynergi.net portugalmail.com Netherland nederlands.com Franta alinto.com caramail.com emailforever.com francemail.com laposte.net mailoman.com bechamail.com visitmail.com camaileon.com fairesuivre.com hydromail.com meloo.com ifrance.com doomlike.com lexpress.net tfz.net Malaysia infomalaysia.net wawasan2020.com Panama cwpanama.net pananet.com Polonia wroclaw.com polbox.com Japan curio-city.com tokyo24.com India 123india.com enzoy.com indiainfo.com ahmedabad.net goaworld.com mail2india.com iloveindia.com India-11.com chaitime.com tatanova.com Oman ooline.com Iran avand.net irol.net iranonline.com Korea chollian.net ecplaza.net hanmail.net hantra.com korea.com kotis.net xtel.com hanbox.com hanmir.com korea.net korealink.com ktnet.com netple.net Jordan albawaba.com maktoob.com Brazil eu.zip.net friends.zip.net rock.zip.net email.zip.net techno.zip.net brasilia.net mister.zip.net Sudan cybergates.net sudanhome.com sudanmail.net Irak aas.net iraq4u.com iraq.net Indonesia astaga.com surabayacity.com emailgaul.com Ecuador andinanet.net ecuaworld.com Bangladesh bangladesh.net bdmail.net siliconbd.com Kazakhstan nursat.net Hong Kong hkem.com ilovehk.com hknet.com iloveilove.com hkonly.com ismart.net hkstar.com my.ismart.net Russian Federation mailru.com bukhara.net Slovenia slomail.com siol.net Sri Lanka 212.com lakmail.com allalone.com backwards.com infolanka.com skating.net
  9. This tutorial will explain the basics of generating and verifying of HWID's. First things first, "What the hell is a HWID??" Most of you already know this so I will keep it short. Ever since Windows XP Product Activation came around, when the OS is installed an unique ID is generated for the basic hardware components in the system. This ensures that a software will be bound to those unique ID, so it can't be moved/run on other machines. Of course there are methods to bypass this, but this is not the scope of this tutorial. Also to make it more "secure" we will be using the triple DES algorithm to crypt the generated CPU and HDD Id's. A short overview: The class will be called Hwid and will contain 2 properties(CpuId,HddId plain text), Generate, Verify and EncryptString methods. The Verify method takes 2 parameters: password(used for DES) and path. The path can be also an URL to a website hosting the file with the HWID's. The void Main() contains a simple console application to see how Hwid class works. The code is commented and self explanatory I would say. Source code: hg clone https://bitbucket.org/rokill3r/hwid Hwid class class Hwid { private string _cpuId = string.Empty; private string _hddId = string.Empty; public Hwid() { _cpuId = GetCpuId(); _hddId = GetHddId("C"); } /// <summary> /// Gets first CPU unique ID /// </summary> /// <returns></returns> private string GetCpuId() { ManagementClass cpuManager = new ManagementClass("win32_processor"); ManagementObjectCollection cpuCollection = cpuManager.GetInstances(); foreach (ManagementObject cpu in cpuCollection) { // Return first CPU Id return cpu.Properties["processorID"].Value.ToString(); } return string.Empty; } /// <summary> /// Gets the drives unique ID /// </summary> /// <param name="drive">Drive name(eg: C,D..)</param> /// <returns></returns> private string GetHddId(string drive) { ManagementObject dsk = new ManagementObject(@"win32_logicaldisk.deviceid=""" + drive + @":"""); dsk.Get(); return dsk["VolumeSerialNumber"].ToString(); } /// <summary> /// Encrypts the HWID using tripple DES algorithm /// </summary> /// <param name="Message">String to crypt</param> /// <param name="Passphrase">Password to use when crypting</param> /// <returns></returns> private string EncryptString(string Message, string Passphrase) ... /// <summary> /// Generates an encrypted HWID /// </summary> /// <param name="password">Password for the DES crypt algorith</param> /// <returns>Encrypted HWID</returns> public string Generate(string password) { return EncryptString(_cpuId + _hddId, password); } public string Generate(string password, string path) { try { string cryptedHwid = EncryptString(_cpuId + _hddId, password); // Write the crypted Hwid to file System.IO.StreamWriter file = new System.IO.StreamWriter(path); file.WriteLine(cryptedHwid); file.Close(); return cryptedHwid; } catch (Exception ex) { return ex.Message; } } /// <summary> /// Generates an encrypted HWID using the tripple DES algorithm /// </summary> /// <param name="password">Password for the DES crypt algorithm</param> /// <param name="path">Path where the HWID will be saved</param> /// <returns>Encrypted HWID</returns> public string Verify(string password, string path) { try { string db = string.Empty; if (path.Contains("http")) { WebClient webClient = new WebClient(); db = webClient.DownloadString(path); webClient.Dispose(); } else { System.IO.StreamReader file = new System.IO.StreamReader(path); db = file.ReadToEnd(); file.Close(); } if (db.Contains(EncryptString(_cpuId + _hddId, password))) return "HWID OK"; else return "HWID NOT FOUND"; } catch (Exception ex) { return ex.Message; } } void Main() static void Main(string[] args) { Hwid hwid = new Hwid(); // Change this to your desired password; string password = "secret1234"; if (args.Length < 1) PrintHelp(); else switch (args[0]) { case "--display": { Console.WriteLine("CPU ID: " + hwid.CpuId); Console.WriteLine("HDD ID: " + hwid.HddId); Console.WriteLine(); break; } case "--generate": { if (args.Length < 2) { Console.WriteLine("Path not specified!"); break; } string path = args[1]; Console.WriteLine("Encrypted HWID: " + hwid.Generate(password, path)); // If we don't specify the path it will only return the encrypted string //Console.WriteLine("Encrypted HWID: " + hwid.Generate(password)); break; } case "--verify": { if (args.Length < 2) { Console.WriteLine("Path not specified!"); break; } string path = args[1]; Console.WriteLine(hwid.Verify(password, path)); break; } default: { PrintHelp(); break; } } Console.WriteLine("Press any key to continue . . ."); Console.ReadLine(); }
×
×
  • Create New...