Posts

Showing posts from October, 2024

Understanding Cross Site Scripting (XSS) By Maloy Roy Orko

Image
What is Cross Site Scripting? Cross Site Scripting (XSS) is a type of security vulnerability found in web applications. It allows attackers to inject malicious scripts into content that is served to other users. This can lead to various attacks, such as stealing cookies, session tokens, or any sensitive information. Common Backend Coding Mistakes Leading to XSS Here are 20 common backend coding mistakes that can lead to XSS vulnerabilities, along with examples of how they can be exploited: 1. Not Sanitizing User Input: Code: <?php $comment = $_POST['comment']; ?> <div><?php echo $comment; ?></div> Payload: <script>alert('XSS')</script> This payload will execute when the comment is displayed. Patch: Sanitize input before rendering. ...

"Log4J Vulnerability Coding Mistakes"- Covered By Maloy Roy Orko

Image
What is Log4j? Log4j is a logging framework for Java applications that helps track application behavior through various logging levels, making it easier to monitor performance, debug issues, and analyze behavior. Common Coding Mistakes with Log4j 1. Improper Configuration of Log Levels Mistake Example: ```java import org.apache.log4j.Logger; public class MyClass {     private static final Logger logger = Logger.getLogger(MyClass.class);     public void process() {         logger.info("Processing started.");         // ... processing logic ...         logger.info("Processing ended.");     } } ``` Explanation: - `import org.apache.log4j.Logger;`: Imports the Logger class from the Log4j library. - `private static final Logger logger = Logger.getLogger(MyClass.class);`: Creates a logger instance for the `MyClass` class. This logger will log messages specific to this class. - `logger.info("Processing s...

"The Rise of AI: How It’s Changing the World Around Us!" -Covered By ‎Maloy Roy Orko

Image
  Video Title: "The Rise of AI: How It’s Changing the World Around Us!" -Covered By ‎Maloy RoyOrko   Creator: ‎‎ Maloy Roy Orko   Video Explanation: In this video, we explore the fascinating world of Artificial Intelligence (AI) and its transformative impact on our daily lives and industries. From smart assistants and self-driving cars to revolutionary healthcare technologies, AI is reshaping the way we interact with the world.  Join us as we break down the types of AI, how machine learning works, and the ethical considerations we must address as we advance this powerful technology. Whether you’re a tech enthusiast or just curious about AI, this video will provide valuable insights into the future of artificial intelligence. What You'll Learn: - The basics of AI and its applications - The differences between Narrow AI and General AI - How machine learning powers AI systems - Ethical implications and challenges of AI - Exciting future trends in AI technolog...