Cross-site Scripting (XSS) is a client-side code injection attack. The attacker aims to execute malicious scripts in a web browser of the victim by including malicious code in a legitimate web page or web application. The actual attack occurs when the victim visits the web page or web application that…

SQL injection is a code injection technique, used to attack data-driven applications, in which malicious SQL statements are inserted into an entry field for execution (e.g. to dump the database contents to the attacker). SQL injection must exploit a security vulnerability in an application’s software, for example, when user input…

About

Prerequisites

  • Python 3.6.7
  • SpeechRecognition 3.8.1 (Internet required to convert speech to text while execution)
  • PyAudio

Approach

  • script.py execute in terminal.
  • After a printed start in the terminal, you begin to speak in English and end once your sentence is completed.
  • It will take a few minutes to convert speech to text and print on your terminal.

Code

# Program to convert speech to text
# Author @inforkgodara
import speech_recognition as sr
r = sr.Recognizer()
mic = sr.Microphone()print(start')
with mic as source:
audio = r.listen(source)
print('end')
print(r.recognize_google(audio))

It is a simple project and contains two python scripts server.py which handle client request and client.py send request and receive response from the server through socket communication.

Prerequisites

About

Methods

  • push() — Adds a value at the end of the stack.
  • pop() — Removes and…

About

Methods

  • add() — Adds an element to the set.
  • has() — Checks whether a particular element exists or not in set.
  • values() — Returns all the values…

About

Prerequisites

About

Approach

  • User enter number (single digit or n character) to perform a specific operation like 1, 2, 3, 4, and n (n is to cancel calculation operation) are valid.
  • Taking two numbers as inputs and…

About

Ramesh Kumar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store