Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.8K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Complex Attack Types: Sample Scenarios 23

The 23rd episode of the series is with you today. Those who have read the previous parts of the article series are familiar with it. We…Continue reading on Medium »
Read more...
Any AI/ML security courses online?
https://www.reddit.com/r/redteamsec/comments/1dm1zf0/any_aiml_security_courses_online/

<!-- SC_OFF -->Hey folks- can anyone please recommend AI/ML courses that could help with testing AI/ML applications? Thanks in advance. <!-- SC_ON --> submitted by /u/Independent_Dirt3695 (https://www.reddit.com/user/Independent_Dirt3695)
[link] (https://owasp.org/www-project-ai-security-and-privacy-guide/) [comments] (https://www.reddit.com/r/redteamsec/comments/1dm1zf0/any_aiml_security_courses_online/)
The 23rd episode of the series is with you today. Those who have read the previous parts of the article series are familiar with it. We…Continue reading on Medium » (https://medium.com/@brsdncr/complex-attack-types-sample-scenarios-23-c0079166f4d9?source=rss------bug_bounty-5)
A vulnerable (https://www.kitploit.com/search/label/Vulnerable) application made using node.js, express server and ejs template engine. This application is meant for educational purposes only.
Setup Clone this repository git clone https://github.com/4auvar/VulnNodeApp.git
Application setup: Install the latest node.js version with npm. Open terminal/command prompt and navigate to the location of downloaded/cloned repository. Run command: npm install DB setup Install and configure latest mysql version and start the mysql service/deamon Login with root user in mysql and run below sql script: CREATE USER 'vulnnodeapp'@'localhost' IDENTIFIED BY 'password';
create database vuln_node_app_db;
GRANT ALL PRIVILEGES ON vuln_node_app_db.* TO 'vulnnodeapp'@'localhost';
USE vuln_node_app_db;
create table users (id int AUTO_INCREMENT PRIMARY KEY, fullname varchar(255), username varchar(255),password varchar(255), email varchar(255), phone varchar(255), profilepic varchar(255));
insert into users(fullname,username,password,email,phone) values("test1","test1","test1","test1@test.com","976543210");
insert into users(fullname,username,password,email,phone) values("test2","test2","test2","test2@test.com","9887987541");
insert into users(fullname,username,password,email,phone) values("test3","test3","test3","test3@test.com","9876987611");
insert into users(fullname,username,password,email,phone) values("test4","test4","test4","test4@test.com","9123459876");
insert into users(fullname,username,password,email,phone) values("test5","test5","test 5","test5@test.com","7893451230");
Set basic environment variable User needs to set the below environment variable. DATABASE_HOST (E.g: localhost, 127.0.0.1, etc...) DATABASE_NAME (E.g: vuln_node_app_db or DB name you change in above DB script) DATABASE_USER (E.g: vulnnodeapp or user name you change in above DB script) DATABASE_PASS (E.g: password or password you change in above DB script) Start the server Open the command prompt/terminal and navigate to the location of your repository Run command: npm start Access the application at http://localhost:3000 Vulnerability covered SQL Injection Cross Site Scripting (XSS) Insecure Direct Object Reference (IDOR) Command Injection Arbitrary File Retrieval Regular Expression Injection External XML Entity Injection (XXE) Node js Deserialization Security Misconfiguration Insecure Session Management TODO Will add new vulnerabilities such as CORS, Template Injection, etc... Improve application documentation Issues In case of bugs in the application, feel free to create an issues (https://github.com/4auvar/VulnNodeApp/issues) on github. Contribution Feel free to create a pull request for any contribution. You can reach me out at @4auvar (https://twitter.com/4auvar)

Download VulnNodeApp (https://github.com/4auvar/VulnNodeApp)<!--more-->
This lab contains a stored XSS vulnerability in the blog comments function. A simulated victim user views all comments after they are…Continue reading on Medium » (https://cyberw1ng.medium.com/13-29-exploiting-cross-site-scripting-to-steal-cookies-21c7d5851ea3?source=rss------bug_bounty-5)
13.29 Exploiting cross-site scripting to steal cookies

This lab contains a stored XSS vulnerability in the blog comments function. A simulated victim user views all comments after they are…Continue reading on Medium »
Read more...
Hello everyone! I’m Rem and I’m 23 years old. I’m here to describe my new bug.Continue reading on Medium » (https://medium.com/@rewmcode/new-100-bug-in-my-methodology-60d99f0dafe2?source=rss------bug_bounty-5)
Duplicate P1 in public program

summary: I found a subdomain with no functions, by fuzzing I found register and login function but it allows only employees.Continue reading on Medium »
Read more...
🚩 CTF Challenge: Exploiting a Vulnerable Calculator Web App. Can you solve this challenge ?
https://www.reddit.com/r/Pentesting/comments/1dmtfcf/ctf_challenge_exploiting_a_vulnerable_calculator/

<!-- SC_OFF -->We have a web application written in C++ for the backend and JavaScript for the frontend. Questions: what is the vulnerability in this program ? What would be the payload syntax that would show the content of the /etc/passwd file? Vulnerable Calculator Web App code : ```cpp include include include include include const char *html_template = R"HTML( <!DOCTYPE html> Calculator Simple Calculator Calculate Result: function calculate() { const expression = document.getElementById('expression').value; fetch(/calculator?expr=${encodeURIComponent(expression)}) .then(response => response.json()) .then(data => { document.getElementById('result').innerText = data.result; }) .catch(error => { document.getElementById('result').innerText = 'Error'; }); } )HTML"; int main() { while (FCGI_Accept() >= 0) { std::string request_uri = getenv("REQUEST_URI"); if (request_uri == "/") { std::cout << "Status: 200 OK\r\n" << "Content-Type: text/html\r\n\r\n" << html_template; } else if (request_uri.find("/calculator?expr=") != std::string::npos) { std::string query_string = getenv("QUERY_STRING"); std::string expr = query_string.substr(query_string.find("expr=") + 5); std::string command = "echo " + expr + " | bc"; FILE *fp = popen(command.c_str(), "r"); if (fp == NULL) { std::cout << "Status: 500 Internal Server Error\r\n" << "Content-Type: text/html\r\n\r\n" << "500 Internal Server Error"; continue; } char buffer[128]; std::string result = ""; while (fgets(buffer, sizeof(buffer), fp) != NULL) { result += buffer; } pclose(fp); std::cout << "Status: 200 OK\r\n" << "Content-Type: application/json\r\n\r\n" << "{\"result\": \"" << result << "\"}"; } } return 0; } ``` feel free to ask any questions or share your experiences! Happy hacking! 🔥💻 <!-- SC_ON --> submitted by /u/sagarbiswas1 (https://www.reddit.com/user/sagarbiswas1)
[link] (https://www.reddit.com/r/Pentesting/comments/1dmtfcf/ctf_challenge_exploiting_a_vulnerable_calculator/) [comments] (https://www.reddit.com/r/Pentesting/comments/1dmtfcf/ctf_challenge_exploiting_a_vulnerable_calculator/)