Tuesday, October 12, 2021

Automated Script to Increase Views for a YouTube Video

YouTube's analytics system has been made with very advanced AI. When users try to gain the views with unauthorized methods, it detects very easily. It finds if the video was opened using browser or app, IP of the client, how many times same video was played, time duration of the video, logged in username, if user was not signed in then some parameters to detect authenticity and many other parameters which find out that the viewer is genuine or not.

Users want to increase the views immediately, they are impatient that's why they play same video multiple times, it might increase the view count in the studio immediately but after sometimes or days, the views will be reduced and that's why genuine views are better for you. They are less but they have high watch time and CTR (click through rate), fake views will not do any good for your channel.

We are going to see two scripts which use Google Chrome Driver and Proxy Details to create genuine environment. This may be a slow process to increase the view count but first it is fully automated, at least you need not open video in multiple tabs manually and second developer has tried his best to make the process authentic.

Here are two automated methods which increase the views of the video but there is no guarantee that YouTube will not detect and reduce the count.

Script : 1

Install 'Tor' before running the script.

git clone https://github.com/but3k4/youtube-views.git

cd youtube-views

pip install -r requirements.txt

python3 bot.py --visits 2 --url https://www.youtube.com/watch?v=ajT1Qbm1wGE --verbose

Script : 2

git clone https://github.com/MShawon/YouTube-Viewer.git

cd YouTube-Viewer

pip install -r requirements.txt

python3 youtube_viewer.py

Tuesday, October 5, 2021

JMeter - Regular Expression Extractor - CSRF Token Login - Django and Laravel Login with JMeter

CSRF Token is a common practice to prevent the Cross Site Request Forgery Attacks. If you are testing such web applications where a CSRF token is sent with the http request, you might find difficult to achieve the results with JMeter.

Most common hurdle is the Login Page because this is the place where you find CSRF token parameter with username and password. Actually CSRF Token should be used with every request where data is getting inserted in the database but generally developers do not use in the other web forms.

So How to Log into the application which has CSRF token implemented in the login page.

Here is the complete guide to handle the CSRF Tokens in the JMeter.



JMeter - Regular Expression Extractor - CSRF Token Login - Django and Laravel Login with JMeter

CSRF Token is a common practice to prevent the Cross Site Request Forgery Attacks. If you are testing such web applications where a CSRF token is sent with the http request, you might find difficult to achieve the results with JMeter.

Most common hurdle is the Login Page because this is the place where you find CSRF token parameter with username and password. Actually CSRF Token should be used with every request where data is getting inserted in the database but generally developers do not use in the other web forms.

So How to Log into the application which has CSRF token implemented in the login page.

Here is the complete guide to handle the CSRF Tokens in the JMeter.