TOP NEWS

Welcome to my site... Have a nice day...

Showing posts with label Lessons. Show all posts

Tuesday, 11 February 2014

[C#] How make a auto login bot

Hi all!

Today we will make a auto login bot :)

Lets start first open a new project.


Select C# Form Application.
and add Web Browser to your form.
and set WebBrowser Url to = https://www.facebook.com

I added 2 label 2 textbox and a button for login process
u can do it with setting file generate a .txt file and save email and password here and read and login account when form load.



Now: LETS WRITE SOME CODE!!!!!!!!!!!!!!!!!!!! :)))))))))))))))))


double click LOGIN button :) and go button_click event :)
First we need to find textbox id on facebook :D lets hack facebook :P


WOW i hacked facebook :P

anyways email id is "email" that was sooooo different from my imagine :D
and password id is "pass" yeap that was different :D
and Log In button id is "loginbutton" :D


and our code is

            webBrowser1.Document.GetElementById("email").SetAttribute("value", textBox1.Text);
            webBrowser1.Document.GetElementById("pass").SetAttribute("value", textBox2.Text);
            webBrowser1.Document.GetElementById("loginbutton").InvokeMember("click");

and thats all.. We find our Elements with their ID's and we set their values and we invoke button and we are in facebook :D

and lets see how it works :)




 Our codes working fine ;)

ther is my project all codes:http://yadi.sk/d/h-5rrNS8HjNzJ
14:10 Posted by Unknown 0

Wednesday, 8 January 2014

[C#] Send file with FTP



Hello!
Today i will publish my ftpfilesender class with you i write this class for my project you can use it everywhere...


Test Program:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace console
{
    class Program
    {
        static void Main(string[] args)
        {
            FtpFileSender FileSender = new FtpFileSender();
            FileSender.setFileName("File.txt");
            FileSender.setUser("ftpuser");
            FileSender.setPass("ftppass");
            FileSender.setServer("ftp://xxx.xxx.xxx.xxx/");
            //FileSender.setServer("ftp://example.com/");
            FileSender.setServerPath("test/");
            //FileSender.setLocalPath("c:/users/");
            Console.WriteLine(FileSender.SendFile());
        }
    }
}
10:49 Posted by Unknown 0

Thursday, 2 January 2014

[C#] Generate random matris and sum diagonal's

Hi my friends today i make some friends homework its basic C# application. You can find source code and program below...



Download

/*
*Code Start
*/


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;

namespace Matris
{
    public partial class Form1 : Form
    {
        //Coded By Kacak41
        //http://www.pcply.org
        //03.01.2014
        int[,] array = new int[5, 5];
        Random rnd1 = new Random();
        int sum = 0;
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            for (int i = 0; i < 5; i++)
            {
                for (int j = 0; j < 5; j++)
                {
                    array[i, j] = rnd1.Next(10);
                    richTextBox1.Text += "   "+ array[i, j] ;
                }
                richTextBox1.Text += "\n";
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            for (int i = 0; i < 5; i++)
            {
                for (int j = 0; j < 5; j++)
                {
                    if (i == j)
                    {
                        sum += array[i, j];
                    }
                    else if (i + j == 4)
                    {
                        sum += array[i, j];
                    }
                }
                richTextBox1.Text += "\n";
            }
            label1.Text = "Sum:" + sum;
        }
    }
}

/*
*Code End
*/
17:32 Posted by Kacak41 0

Tuesday, 12 November 2013

UDK Lessons

 

For Begginers UDK Lessons: 

Link Pass: UDK-Lesson

 

UDK Tutorial 1 - Introduction to UDK - Link

UDK Tutorial 2 - Builder Brushes - Link

UDK Tutorial 3 - Materials - Link

UDK Tutorial 4 - Static Meshes - Link

UDK Tutorial 5 - Terrain Editor - Link

UDK Tutorial 6 - Kismet and Matinee - Link

UDK Tutorial 7 - Sounds - Link

UDK Tutorial 8 - Emissive Light - Link

UDK Tutorial 9 - Lights and Director Group - Link

UDK Tutorial 10 - Enemy Spawns and Pathing - Link

UDK Tutorial 11 - Kismet AI - Part 1 - Link

UDK Tutorial 12 - Kismet AI - Part 2 - Link

UDK Tutorial 13 - Follower Bot with Cinematic - Link

UDK Tutorial 14 - Game Types and Level Streaming - Link

UDK Tutorial 15 - Volumes and Frontend - Link

11:03 Posted by Kacak41 0