Posts

Showing posts with the label #Hacking

Scraping with Python

Hello World, There is more information on the Internet than any human can absorb in a lifetime. What you need is not access to that information, but a scalable way to collect, organize, and analyze it.  Then, You need web scraping.   So let's discuss this scrapping thing. Now, the Scrap Means: to take out something from somewhere and If we add 'web' to it, then it means to take out something from the web resources.  Web scraping automatically extracts data and presents it in a format you can easily make sense of. In this tutorial, we’ll focus on its applications in the webpage data extraction, but web scraping can be used in a wide variety of situations. Roadmap for this blog: - Setup with the tools and library - Basic of the HTML DOM - Scrapping Rule - Coding part Pre-Requisite: - A basic understanding of programming concept in python ---------------------------------------------------------- Getting Started with the tool...

Feature file(s) Execution in Cucumber

Hello World, On this post, we will understand the Execution of the cucumber's feature file(s). Normally we just create the feature file according to the application's feature/main_functional_category and most of the time(basically depending on our automation framework) its just independent from other features. But, what if...if we want to execute our cucumber framework with a proper defined sequence of feature files ? Now this situation arise when we are having following case: the features(or the steps inside features) are inter-related. Or, we just want to execute them as we want to. So, basically cucumber has its own default way to pickup the feature file for execution, which is of-course Alphabetical order (it also applied to sub-folder names) . But we can also override this default method of feature file selection for execution. So below are the methods/ways to override the default way of cucumber feature files... #1: Specify in @ CucumberOptions (or...

Make a Back Door in a windows System.

[Make a back door in windows System,  So that next time you want to enter that system, just go in, no authentication required. boom] How  (Follow the simple steps): Step:1 [Make a back door room]   Make a Live CD of linux (like: Ubuntu), and boot into any  windows installed computer, and   just Rename the program name [sethc.exe->cmd.exe] and vice-versa. [under Windows/System32/] [sethc.exe is used for hotkey activation.] [5 times Shift or Ctrl invoke this program]. Step:2 [Take charge of command and authenticate yourself] now simply shutdown the Ubuntu, and boot with Windows......here press five times shift key to invoke the cmd.exe [bcz you already changed the program name before using Ubuntu in step:1] So here you go.....You have Command Prompt Window Now. Now... 1- use the "net user" command to see the total users. 2- use the "net user username *" to overwrite the username password. 3- use the "net user administrator /active:yes" ...

Html Status Code

Basic Html Status Code Types          1- 1XX [Informational]  2- 2XX [Success]  3- 3XX [Redirect]       4- 4XX [Client Error]        5- 5XX [Server Error] ----------------------------------------------------------------------------------------------------------------------- 1xx Informational a- 100 Continue b- 101 Switching Protocols c- 102 Processing 2xx Success This class of status codes indicates the action requested by the client was received, understood, accepted and processed successfully. 200 OK 201 Created 202 Accepted 203 Non-Authoritative Information (since HTTP/1.1) 204 No Content 205 Reset Content 206 Partial Content 207 Multi-Status (WebDAV; RFC 4918) 208 Already Reported (WebDAV; RFC 5842) 226 IM Used (RFC 3229) 3xx Redirection This class of status code indicates the client must take additional action to complete the request. Many of these status codes are use...

Access Command Prompt, outside of login in Windows[7/8/8.1/10].

Image
The basic concept is to modify the file which is easily accessible before the login, like "sethc.exe".  This is a program, handles user  accessibility options, if we replace it with cmd then cmd can be easily accessible outside without login. And once we got CMD then we can do anything like password flush of any user, crete new user, and much more operations.... Here are the steps: 1- this is the file , which you have to modify. 2- do the following 3- Almost done ready to go.... [This information is for educational/knowledge purpose like if you forgot your windows account password then you can use it, do it with your own risk. ]