Thứ Sáu, 19 tháng 6, 2015

Setting userPreferences Using ProcessEngineAPI in filenet

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package peconnection;

import com.filenet.api.core.Connection;
import com.filenet.api.core.Domain;
import com.filenet.api.core.Factory;
import com.filenet.api.util.UserContext;
import filenet.vw.api.VWQueue;
import filenet.vw.api.VWSecurityList;
import filenet.vw.api.VWSession;
import filenet.vw.api.VWUserInfo;
import javax.security.auth.Subject;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;


/**
 *
*
* @author Administrator

*/

public class Newpe {




public static void main(String args[])
{
    VWQueue queue = null;
try
{


String url ="http://192.168.1.188:9080/wsi/FNCEWS40MTOM/";
String userName = "p8admin";
String password = "ecm@dm1n";
String connectionPoint = "CP1";
String email_suffix1="tecnics.com";


//creating content engine connection

Connection con=Factory.Connection.getConnection(url);

System.out.println(con);

UserContext uc = UserContext.get();

Subject subject = UserContext.createSubject(con,userName,password,null);

uc.pushSubject(subject);



Domain domain=Factory.Domain.fetchInstance(con, null, null);

System.out.print(domain.get_Name());

//create a connection to process engine

 VWSession m_vwSession = new VWSession();

 //System.out.println("m_vwsession created");

 m_vwSession.setBootstrapCEURI(url);

  
 m_vwSession.logon( userName, password, connectionPoint);

 //System.out.print("VWsession login completed");

 VWSecurityList list=m_vwSession.fetchUsers(1000,false);

 //System.out.print("Security list is \n"+list);


 System.out.println("starting secutity list iterating ");

 while(list.hasNext())
 {
    
     //System.out.println(list.next());
    
     VWUserInfo info=m_vwSession.fetchUserInfo(list.next().toString());
    
     System.out.println(info +"@"+email_suffix1);
    
     info.setEMailAddress(info +"@"+email_suffix1);
    
 int nf = VWUserInfo.NOTIFICATION_STEP_EXPIRED_DEADLINE |
 VWUserInfo.NOTIFICATION_STEP_NEW_ASSIGNMENT |
 VWUserInfo.NOTIFICATION_STEP_REMINDERS |
 VWUserInfo.NOTIFICATION_TRACKER_EXPIRED_DEADLINE |
 VWUserInfo.NOTIFICATION_TRACKER_NEW_ASSIGNMENT |
 VWUserInfo.NOTIFICATION_TRACKER_WORKFLOW_EXCEPTION;

 info.setNotificationFlags(nf);

 info.save();


    
    
 }

System.out.println("Operation Completed");


}
    
catch(Exception e)
{
   
    //System.out.println("reason is   :"+e.getMessage());
    e.printStackTrace();
   
//System.exit( 1 );

}
}

}

Thứ Tư, 20 tháng 5, 2015

Getting Filnet Documents based on document Ids

Note:

 Here Document Ids are presented in Xlsx file.

EngineConnection.java

package docdown;
import  com.filenet.api.core.*;
import com.filenet.api.util.UserContext;
import javax.security.auth.Subject;

public class EngineConnection {
   
    
    Connection giveConnection()
    {
    
       
        String url="http://192.168.1.134:9080/wsi/FNCEWS40MTOM";
       
        Connection connection = Factory.Connection.getConnection(url);
       
        Subject subject =UserContext.createSubject(connection, "p8admin", "filenet@12", null);
       
       
        UserContext context=UserContext.get();
       
        context.pushSubject(subject);
       
       
        if(connection!=null)
           
            return connection;
       
        return connection;
       
       
               
    }
}

DocumentDownloader.java


package docdown;

import com.filenet.api.collection.ContentElementList;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Iterator;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import  com.filenet.api.core.*;
import com.filenet.api.util.Id;
import java.io.FileOutputStream;

public class DocumentDownloader {
   
    public static void main(String args[])
    {
       
         try {
            double currentId;
            String curr;
            ArrayList ids=new ArrayList();
            InputStream input = new BufferedInputStream( new FileInputStream("D:\\excel\\filenet_id.xls"));
            POIFSFileSystem fs = new POIFSFileSystem( input );
            HSSFWorkbook wb = new HSSFWorkbook(fs);
            HSSFSheet sheet = wb.getSheetAt(0);
            Iterator rows = sheet.rowIterator();
            while( rows.hasNext() ) {
                HSSFRow row = (HSSFRow) rows.next();
                System.out.println("\n");
                Iterator cells = row.cellIterator();
                while( cells.hasNext() ) {
                    HSSFCell cell = (HSSFCell) cells.next();
                    if(HSSFCell.CELL_TYPE_NUMERIC==cell.getCellType()) {
                     
                        currentId= cell.getNumericCellValue();
                        ids.add(currentId);
                    
                    }
                    else if(HSSFCell.CELL_TYPE_STRING==cell.getCellType()) {
                      
                    curr= cell.getStringCellValue();
                    ids.add(curr);
                      
                    }
                    else
                        System.out.print("Unknown cell type");
                   
                }
            }
             System.out.println(""+ids);
            
            EngineConnection connection=new EngineConnection();
           
            Connection final_connection=connection.giveConnection();
           
            Domain domain=null;
            ObjectStore os=null;
            Document doc1=null;
            
            FileOutputStream output_data=null;
           
            InputStream input_data=null;
              
            ContentElementList content_element_list=null;
           
            if(final_connection!=null)
            {
               
                domain=Factory.Domain.fetchInstance(final_connection, null, null);
                os=Factory.ObjectStore.fetchInstance(domain, "CMTOS", null);
               
                System.out.println(""+os.get_Name());
               
              
               
            
               
                for(int index=0;index<ids.size();index++)
                {
                   
                     doc1=Factory.Document.fetchInstance(os,new Id(""+ids.get(index)+""), null);
                
               
                    
                     output_data = new FileOutputStream("d:\\sample\\"+doc1.get_Name());
                    
                     content_element_list=doc1.get_ContentElements();
                    
                     Iterator ite=content_element_list.iterator();
                  
                   while(ite.hasNext())
                   {
                      
                       ContentTransfer ct=(ContentTransfer)ite.next();
                      
                       input_data=ct.accessContentStream();
                      
                       int data_length=ct.get_ContentSize().intValue();
                      
                       byte buff[]=new byte[data_length];
                      
                       try
                       {
                          
                           input_data.read(buff);
                          
                           output_data.write(buff);
                          
                       }
                       catch(Exception e)
                       {
                           System.out.println(""+e.getLocalizedMessage());
                       }
                   }
                  
                    System.out.println("file copied is "+ids.get(index));
                }
               
            }
          
         }
         catch(Exception e)
         {
             System.out.println(""+e.getLocalizedMessage());
         }
    }
}
output:

here output is set of documents stored on local file path.

Thứ Ba, 21 tháng 4, 2015

Downloading bulk files from filenet repository using content engine API

EngineConnection.java
---------------------------------
import  com.filenet.api.core.*;
import com.filenet.api.util.UserContext;
import javax.security.auth.Subject;

public class EngineConnection {

   
    Connection giveConnection()
    {
    
       
        String url="http://192.168.2.22:9080/wsi/FNCEWS40MTOM";
       
        Connection connection = Factory.Connection.getConnection(url);
       
        Subject subject =UserContext.createSubject(connection, "p8admin", "ecm@dmin1", null);
       
       
        UserContext context=UserContext.get();
       
        context.pushSubject(subject);
       
       
        if(connection!=null)
           
            return connection;
       
        return connection;
       
       
               
    }
   
}


BulkDownloading.java

---------------------------------


import com.filenet.api.collection.ContentElementList;
import com.filenet.api.collection.DocumentSet;
import com.filenet.api.core.*;
import com.filenet.api.util.Id;
import java.util.Iterator;
import java.io.*;
public class BulkDownloading {

    public static void main(String []args)
    {
       
        EngineConnection mine=new EngineConnection();
       
        Connection connection= mine.giveConnection();
       
        if(connection !=null)
        {
            Domain domain=Factory.Domain.fetchInstance(connection, null, null);
           
            ObjectStore object_store=Factory.ObjectStore.fetchInstance(domain, "CMTOS", null);
           
            System.out.println(""+object_store.get_DisplayName());
           
            Folder folder=Factory.Folder.fetchInstance(object_store, "/Practise Folder/Practise Sub Folder", null);
           
            System.out.println(""+folder.get_FolderName());
           
            //get all documents from this folder now
           
            DocumentSet document_set=folder.get_ContainedDocuments();
           
            Document current_document=null;
           
            FileOutputStream output_data=null;
           
            InputStream input_data=null;
           
            Document working_document=null;
           
            ContentElementList content_element_list=null;
           
           Iterator<DocumentSet>doc_iterator= document_set.iterator();
          
           while(doc_iterator.hasNext())
           {
              
               current_document=(Document)doc_iterator.next();
              
               //System.out.println(""+current_document.get_Name()+current_document.get_MimeType());
              
               String mime=current_document.get_MimeType();
               
               if(mime.startsWith("applica"))
               {
                   mime="pdf";
               }
              
               try
               {
                   output_data = new FileOutputStream("d:\\sample\\"+current_document.get_Name()+"."+mime);
                  
                   working_document=Factory.Document.fetchInstance(object_store,current_document.get_Id(), null);
                  
                   content_element_list=working_document.get_ContentElements();
                  
                   //iterate through these
                  
                   Iterator ite=content_element_list.iterator();
                  
                   while(ite.hasNext())
                   {
                      
                       ContentTransfer ct=(ContentTransfer)ite.next();
                      
                       input_data=ct.accessContentStream();
                      
                       int data_length=ct.get_ContentSize().intValue();
                      
                       byte buff[]=new byte[data_length];
                      
                       try
                       {
                          
                           input_data.read(buff);
                          
                           output_data.write(buff);
                          
                       }
                       catch(Exception e)
                       {
                           System.out.println(""+e.getLocalizedMessage());
                       }
                   }
                  
                  
               }
               catch(Exception e)
               {
                   System.out.println(""+e.getLocalizedMessage());
               }
           }
           
            System.out.println("Operation completed");
        }
       
    }
   
}
 


Bulk uploading of documents using filenet content engine API

EngineConnetion.java


import  com.filenet.api.core.*;
import com.filenet.api.util.UserContext;
import javax.security.auth.Subject;

public class EngineConnection {

   
    Connection giveConnection()
    {
    
       
        String url="http://192.168.2.22:9080/wsi/FNCEWS40MTOM";
       
        Connection connection = Factory.Connection.getConnection(url);
       
        Subject subject =UserContext.createSubject(connection, "p8admin", "ecm@dmin1", null);
       
       
        UserContext context=UserContext.get();
       
        context.pushSubject(subject);
       
       
        if(connection!=null)
           
            return connection;
       
        return connection;
       
       
               
    }
   
}


BulkUploading.java

---------------------


import com.filenet.api.collection.ContentElementList;
import com.filenet.api.collection.FolderSet;
import com.filenet.api.constants.AutoClassify;
import com.filenet.api.constants.AutoUniqueName;
import com.filenet.api.constants.CheckinType;
import com.filenet.api.constants.DefineSecurityParentage;
import com.filenet.api.constants.RefreshMode;
import com.filenet.api.core.*;
import java.io.File;
import java.io.FileInputStream;
import java.nio.file.Files;

import java.util.*;

public class BulkUploading {

    public static void main(String args[])
    {
       
        //connect to the server
       
        EngineConnection mine=new EngineConnection();
       
        Connection connection = mine.giveConnection();
       
        if(connection!=null)
        {
           
            //give a folder name from there it takes all the data and uploads it into the folder given by you
           
             File file=new File("C:\\Users\\tempuser.TIT-JAVA-040\\Downloads\\DemoJava\\");
           
           
             System.out.println(file.isDirectory());
           
             File files_array[]=file.listFiles();
          
             Folder current_folder=null;
          
             Folder selected_folder=null;
           
           
             Domain domain=Factory.Domain.fetchInstance(connection, null, null);
           
            //System.out.println(""+domain.get_Name());
           
            //select an object store
           
            ObjectStore object_store=Factory.ObjectStore.fetchInstance(domain, "CMTOS", null);
           
            FolderSet folder_set=object_store.get_TopFolders();
           
            Iterator<FolderSet> folder_iterator=folder_set.iterator();
           
            while(folder_iterator.hasNext())
            {
               
                current_folder=(Folder)folder_iterator.next();
               
               
                if(current_folder.get_FolderName().equals("Practise Folder"))
                {
                    selected_folder=current_folder;
                }
            }
           
//            System.out.println(""+selected_folder.get_FolderName());
           
            //get sub folders from selected folders
           
           FolderSet sub_folder_set= selected_folder.get_SubFolders();
          
           //iterate through sub folders
          
           Iterator<FolderSet> sub_folder_iterator=sub_folder_set.iterator();
          
           Folder current_sub_folder=null;
          
           Folder selected_sub_folder=null;
          
           while(sub_folder_iterator.hasNext())
           {
              
               current_sub_folder=(Folder)sub_folder_iterator.next();
              
               if(current_sub_folder.get_FolderName().equals("Practise Sub Folder"))
               {
                  
                   selected_sub_folder=current_sub_folder;
               }
           }
           
             ContentTransfer content_transfer =null;
            
             FileInputStream input_data=null;
             
             Document doc=null;
             
             ContentElementList content_element_list=null;
                        
             ReferentialContainmentRelationship file2=null;
             
            for(File f:files_array)
            {
           
             File file1=new File(f.getAbsolutePath());
           
            try
            {
               
              input_data =new FileInputStream(file1);
               
                //get the instance for documnet to store above input data
               
              doc =Factory.Document.createInstance(object_store, null);
               
                //set trasfering method
               
              content_transfer=Factory.ContentTransfer.createInstance();
               
                //set the data to this content transfer
               
              content_transfer.setCaptureSource(input_data);
               
                //set the mime type
               
              content_transfer.set_ContentType("application/pdf");
               
                //set a name for document
               
              content_transfer.set_RetrievalName("shashi practice");
               
                //create a content element list and add this content transfer data to the list
               
              content_element_list=Factory.ContentElement.createList();
               
              content_element_list.add(content_transfer);
               
                //add the content elements to the current document
              doc.set_ContentElements(content_element_list);
               
              doc.getProperties().putValue("DocumentTitle",f.getName() );
               
              doc.set_MimeType("application/pdf");
               
                //check in document
               
              doc.checkin(AutoClassify.AUTO_CLASSIFY, CheckinType.MINOR_VERSION);
               
              doc.save(RefreshMode.REFRESH);
               
                //set the current document under the sub folder
              file2= selected_sub_folder.file(doc, AutoUniqueName.AUTO_UNIQUE, f.getName(), DefineSecurityParentage.DEFINE_SECURITY_PARENTAGE);
               
              file2.save(RefreshMode.REFRESH);
               
              System.out.println("Current  document  "+doc.get_Name()+" is Saved");
             
           
            }
            catch(Exception e)
            {
                System.out.println(""+e.getLocalizedMessage());
            }
           
           
          }   
        }
       
    }
   
}

stroing documents in subfolders by using filenet content engine API


import com.filenet.api.collection.ContentElementList;
import com.filenet.api.collection.FolderSet;
import com.filenet.api.constants.AutoClassify;
import com.filenet.api.constants.AutoUniqueName;
import com.filenet.api.constants.CheckinType;
import com.filenet.api.constants.DefineSecurityParentage;
import com.filenet.api.constants.RefreshMode;
import com.filenet.api.core.*;
import java.io.File;
import java.io.FileInputStream;
import java.util.Iterator;

public class StoringDataInSubFolders {

    public static void main(String args[])
    {
     
        EngineConnection mine=new EngineConnection();
       
        Connection connection = mine.giveConnection();
       
        if(connection!=null)
        {
           
            Domain domain=Factory.Domain.fetchInstance(connection, null, null);
           
            System.out.println(""+domain.get_Name());
           
            //select an object store
           
            ObjectStore object_store=Factory.ObjectStore.fetchInstance(domain, "CMTOS", null);
           
            System.out.println(""+object_store.get_DisplayName());
           
            //select a folder
           
            Folder current_folder=null;
          
          
            Folder selected_folder=null;
           
            FolderSet folder_set=object_store.get_TopFolders();
           
            Iterator<FolderSet> folder_iterator=folder_set.iterator();
           
            while(folder_iterator.hasNext())
            {
               
                current_folder=(Folder)folder_iterator.next();
               
                if(current_folder.get_FolderName().equals("Practise Folder"))
                {
                    selected_folder=current_folder;
                }
            }
           
            System.out.println(""+selected_folder.get_FolderName());
           
            //get sub folders from selected folders
           
           FolderSet sub_folder_set= selected_folder.get_SubFolders();
          
           //iterate through sub folders
          
           Iterator<FolderSet> sub_folder_iterator=sub_folder_set.iterator();
          
           Folder current_sub_folder=null;
          
           Folder selected_sub_folder=null;
          
           while(sub_folder_iterator.hasNext())
           {
              
               current_sub_folder=(Folder)sub_folder_iterator.next();
              
               if(current_sub_folder.get_FolderName().equals("Practise Sub Folder"))
               {
                  
                   selected_sub_folder=current_sub_folder;
               }
           }
          
            System.out.println(""+selected_sub_folder.get_FolderName());
           
            //now store data of document in  this sub folder only
           
            //get the data from local system
           
            File file=new File("C:\\Users\\tempuser.TIT-JAVA-040\\Downloads\\content navigator.pdf");
           
            try
            {
               
                FileInputStream input_data=new FileInputStream(file);
               
                //get the instance for documnet to store above input data
               
                Document doc=Factory.Document.createInstance(object_store, null);
               
                //set trasfering method
               
                ContentTransfer content_transfer=Factory.ContentTransfer.createInstance();
               
                //set the data to this content transfer
               
                content_transfer.setCaptureSource(input_data);
               
                //set the mime type
               
                content_transfer.set_ContentType("application/pdf");
               
                //set a name for document
               
                content_transfer.set_RetrievalName("shashi practice");
               
                //create a content element list and add this content transfer data to the list
               
                ContentElementList content_element_list=Factory.ContentElement.createList();
               
                content_element_list.add(content_transfer);
               
                //add the content elements to the current document
                doc.set_ContentElements(content_element_list);
               
                doc.getProperties().putValue("DocumentTitle","shashi practice" );
               
                doc.set_MimeType("application/pdf");
               
                //check in document
               
                doc.checkin(AutoClassify.AUTO_CLASSIFY, CheckinType.MINOR_VERSION);
               
                doc.save(RefreshMode.REFRESH);
               
                //set the current document under the sub folder
                ReferentialContainmentRelationship file1 = selected_sub_folder.file(doc, AutoUniqueName.AUTO_UNIQUE, "shashi practice", DefineSecurityParentage.DEFINE_SECURITY_PARENTAGE);
               
                file1.save(RefreshMode.REFRESH);
               
                System.out.println("Your document saved ");
           
            }
            catch(Exception e)
            {
                System.out.println(""+e.getLocalizedMessage());
            }
           
        }
       
    }
   
}


----------------------------------
EngineConnection.java

import  com.filenet.api.core.*;
import com.filenet.api.util.UserContext;
import javax.security.auth.Subject;

public class EngineConnection {

   
    Connection giveConnection()
    {
    
       
        String url="http://192.168.2.22:9080/wsi/FNCEWS40MTOM";
       
        Connection connection = Factory.Connection.getConnection(url);
       
        Subject subject =UserContext.createSubject(connection, "p8admin", "ecm@dmin1", null);
       
       
        UserContext context=UserContext.get();
       
        context.pushSubject(subject);
       
       
        if(connection!=null)
           
            return connection;
       
        return connection;
       
       
               
    }
   
}

Thứ Hai, 20 tháng 4, 2015

Uploading documents into sub folders in filenet by using contentengine API



package com.chenna;

import com.filenet.api.collection.ContentElementList;
import com.filenet.api.collection.FolderSet;
import com.filenet.api.constants.AutoClassify;
import com.filenet.api.constants.AutoUniqueName;
import com.filenet.api.constants.CheckinType;
import com.filenet.api.constants.DefineSecurityParentage;
import com.filenet.api.constants.RefreshMode;
import com.filenet.api.core.*;
import java.io.File;
import java.io.FileInputStream;
import java.util.Iterator;

/**
 *
 * @author chenna
 */
public class StoringInSubFolder {

    public static void main(String args[])
      
    {
        
        //connection
        
        Connectionclas mine=new Connectionclas();
        
        Connection connection =mine.getMyconnection();
        
        if(connection!=null)
        {
            
            Domain domain=Factory.Domain.fetchInstance(connection, null, null);
            
            ObjectStore object_store=Factory.ObjectStore.fetchInstance(domain, "CMTOS", null);
            
            System.out.println(""+object_store.get_DisplayName());
            
            FolderSet folder_set= object_store.get_TopFolders();
            
           Iterator<FolderSet> folder_iteraor= folder_set.iterator();
           
           Folder current_folder=null;
           
           Folder seleced_folder=null;
           
           while(folder_iteraor.hasNext())
           {
               
               current_folder=(Folder)folder_iteraor.next();
               
               if(current_folder.get_FolderName().equals("folder1"))
               {
                   seleced_folder=current_folder;
               }
        
           }
           
            System.out.println(""+seleced_folder.get_FolderName());
        
           FolderSet sub_folders= seleced_folder.get_SubFolders();
           
           Folder current_sub_folder=null;
           
           Folder selected_sub_folder=null;
           
          Iterator<FolderSet>sub_folder_itertor=  sub_folders.iterator();
          
          while(sub_folder_itertor.hasNext())
          {
              
            current_sub_folder=(Folder)sub_folder_itertor.next();
              
            if(current_sub_folder.get_FolderName().equals("folder2"))
            {
                selected_sub_folder=current_sub_folder;
            }
          }
           
            System.out.println(""+selected_sub_folder.get_FolderName());
            
              File file=new File("C:\\Users\\chenna\\Downloads\\Case manager 2014(1).pdf");
            
            FileInputStream input_data=null;
            
            ContentTransfer content_transfer=null;
            
            
            ContentElementList content_element_list=null;
            
            Document document=null;
            
            
            
            try
            {
                
                input_data=new FileInputStream(file);
                
               
                content_transfer =Factory.ContentTransfer.createInstance();
                
                content_transfer.setCaptureSource(input_data);
                
                content_transfer.set_ContentType("application/pdf");
                
                content_transfer.set_RetrievalName("shashiFile");
                
                content_element_list = Factory.ContentElement.createList();
                
                content_element_list.add(content_transfer);
                
                document = Factory.Document.createInstance(object_store, null);
                
               // System.out.println(""+document);
                
                document.set_ContentElements(content_element_list);
                
                document.set_MimeType("application/pdf");
                
                document.getProperties().putValue("DocumentTitle", "shashi File");
                
                document.checkin(AutoClassify.AUTO_CLASSIFY, CheckinType.MINOR_VERSION);
                
                document.save(RefreshMode.REFRESH);
                
                ReferentialContainmentRelationship file1 = selected_sub_folder.file(document, AutoUniqueName.AUTO_UNIQUE, "practise chenna", DefineSecurityParentage.DEFINE_SECURITY_PARENTAGE);
                
                file1.save(RefreshMode.REFRESH);
                
                System.out.println("Document uploaded");
            }
            catch(Exception e)
            {
                System.out.println(""+e.getLocalizedMessage());
            }
        }
    }
    
}

Thứ Sáu, 20 tháng 2, 2015

Hacking facebook and gmail password using keylogger.


 ------------------------------------

In this tutorial i will use a tool called software keylogger

to hack Gmail and Facebook passwords.


Software Keylogger:


A keylogger is also called as Keystroke logger.It is a  small 

software program which monitors each and every keystrokes of  

your computer keyboard.

--This software collects keystrokes and stores them in to your 

computer hard-disk.


      Download keylogger here




Features of keylogger:

--It captures all keystrokes pressed by user .

--It monitors and record each and every website you opened .

--It monitors which programs currently running ,passed in 

your computer.and many more....


Set-up of Keylogger.


1.After downloading software install it in your computer and 

run it as administrator mode. 

2.Now click on start and minimize it.

Hacking Facebook login id and password.

1.Open browser and type facebook.com,you will forwareded to 

facebook home page.Type fake user id and password for checking 

purpose




2.Click on login button.(Of course you wont able to login with 

fake password and id).

3.Now open keylogger click on stop capturing.Then open view 

text file there you will see your facbook userid and password.




  Similarly you can hack Gmail password also.

Thank you.If you like this post please share it .. 


See my other posts





Thứ Tư, 18 tháng 2, 2015

How To Login into a System Without Having Password ?

Every Computer now a days protected by LoginPassword  .This is

the only way you can protect your computer from unauthorized 

users.

However you can sniff this password using a tool called Kon-Boot.

I mean with out having any LoginPassword you can login to a

computer system which runs on Windows and Linux operating system.

About Kon-Boot:

--Kon-Boot is a password hacking tool.It modifies the system 

kernal while it booting,the changes made to kernal only for 

temporarily, once you loggedout from system it will restore to 

its  original state.
 
--Kon-Boot is a type of boot loader that lets you to bypass 

the password entry .

--Kon-Boot does not make any changes to your system,it does 

not alter the hard disk content in any way ,it just by pass 

password entry

Required Tools To By Pass Password Entry Of System

--USB FlashDrive(>500MB)

--Kon-Boot Software.

    Download Kon-Boot from here
  
Loading Kon-Boot on USB drive

1.Open Kon-Boot folder you will see folders and bat files like

as shown in below image 





2.Run Usb_install as Administrator

3.When you open usb_installer in administrator mode you will

be prompted to choose usb drive(f or g or any other..)

3.It will prompt you after completion of kon-Boot loading on 

your flash drive 



4.Open your flash drive,Now you will see some image files.



ByPassing Password In Windows Machine

1.open Boot properties of computer on which you want to 

by pass Loginpassword(press f2 or f12 it depends on 

computer).Enable external boot drive



 2.Select first boot priority as flash drive ,then press save 

changes and exit.

3.Now your computer restarts automatically to boot from flash 

drive .

4.Select Version of Kon-Boot ..You can select any version then 

press enter .

5.Now am pressing just enter with out typing any password.

6.It will login in to your system automatically,you will able  

see your desktop