Skip to main content

Posts

Showing posts with the label network

Featured post

XM Cloud content sync from prod to uat or UAT to prod step by step

When working with Sitecore, it’s common to need content synchronization across environments. Today, I’ll walk you through the steps to sync content from Production to UAT/TEST and vice versa. Steps to Follow 1. Set Up Your Workspace Create a folder on your computer where you will manage the script files and exported data. Open the folder path in PowerShell to begin scripting. We need to run some scripts in PowerShell to update the folder with the basic requirements for syncing content. PS C:\Soft\ContentSync> dotnet new tool-manifest PS C:\Soft\ContentSync> dotnet nuget add source -n Sitecore https://nuget.sitecore.com/resources/v3/index.json PS C:\Soft\ContentSync> dotnet tool install Sitecore.CLI PS C:\Soft\ContentSync> dotnet sitecore cloud login If the above error occurs, you will need to run a different command to resolve the issue. PS C:\Soft\ContentSync> dotnet sitecore init now, Again run above command to open and authenticate with XM Cloud. It will be there a...

How to send mail in c# asp.net

Here, I have created method to send mail. Just call this method by passing suitable value in method . It will deliver at you send mail id. apply your email id and password to send mail.      public static string SendMail( string from= "" , string to= "" , string cc= "" , string bcc= "" , string subject= "" , string body= "" , string pass= "" , string host= "" )     {         string strret = "" ;         try         {             string username = from.ToString();             System.Net.Mail. MailMessage MyMailMessage = new System.Net.Mail. MailMessage ();             MyMailMessage.Subject = subject;          ...

How to get mac address in C#

Get mac address using C# in asp.net . see the below method which will return computer mac address . use  using System.Net.NetworkInformation;  public string GetMACAddress()     {         NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();         String sMacAddress = string.Empty;         foreach (NetworkInterface adapter in nics)         {             if (sMacAddress == String.Empty)             {                 IPInterfaceProperties properties = adapter.GetIPProperties();                 sMacAddress = adapter.GetPhysicalAddress().ToString();             }         }         return sMacAddress;     }

How to get computer IP address

To get exact IP Address of computer which try to serve your web application use HTTP Current context server variable .For more details see below code which will return ip address by method. public string GetIpAddress()     {         string IpAddress = "" ;         try         {   IpAddress = HttpContext .Current.Request.ServerVariables[ "HTTP_X_FORWARDED_FOR" ];             if ( string .IsNullOrEmpty(IpAddress))             {                 //IpAddress = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];                 IpAddress = "192.168.1.1" ;    ...

Network hacking & scanning tools

NETWORK SCANNING Network scanning is very easy to understand and use but don’t do this in any other network. It’s illegal .so I can’t suggest it do . You may see below protocol and tools to be use for network scanning. Tools to be use to be use for scan and hack network : ·         HTTPort ·         Nmap :- port scan counter measure ·         Pinger ·         WS_Ping_Pro ·         HPING2 ·         KingPing ·         Icmpenum ·         SNMP Scanner ·         Detecting ping sweeps ICMP Queries ·         IPEye ·         IPSECScan ·      ...

Trace & Hack Network

FOOTPRINTING :- What is Footprinting ? What steps you should follow to gather information I will discuss latter about footpring but going to list some information which help to gather information. ·         NSLOOKUP It helps to find the address range of network. ·         Whois ·         Hacking Tool : Sam Spade  - Analyze whois output ·         ARIN ·         TRACEROUTE ·         Hacking Tool : Neo Trace, Visual Lookout, Visual Route ·         Hacking Tool : eMailTracking Pro ·         Hacking Tool mailtracking.com

Ethical hacking Technique and tools

Ethical hacking Technique and tools. First of all I would like to explain some points to understand to be a best hacker in the world. What you know to hack? and how to hack ? Some points you need to understand before start to hack. First you need to make focus on how to make secure of computer, server and network. To become a best hacker and Network security engineer you need know and understand below points. ·         System Hacking ·         Network Scanning ·         Social engineering ·         Session Hijack ·         Web Server hacking ·         Wireless Network hacking ·         SQL Injection ·         Sniffing ·         Denial of Serv...