su
apt install gcc
apt install g++
sudo apt-get install libsfml-dev
sudo apt-get build-dep libsfml
cd ~
nano scan.cpp
#include <iostream>
#include <SFML/Network.hpp>
#include <string>
static bool port_is_open(const std::string & address, int port) {
return (sf::TcpSocket().connect(address, port) == sf::Socket::Done);
}
int main() {
std::cout << "Port 80 : ";
if (port_is_open("localhost", 80))
std::cout << "OPEN" << std::endl;
else
std::cout << "CLOSED" << std::endl;
return 0;
}
g++ scan.cpp -lsfml-network -lsfml-system
chmod +x a.out
apt install apache2 -y
./a.out
systemctl stop apache2
./a.out
Port 80 : CLOSED
How much RAM do you have and can you read some of the information here and let me know what works for you (if something does)?CPU: Ryzen 5 2600
Without writing lines, there is no content here. A lot of the material is images and code (bash/C++) - pretty much a picture book.stop writing 10K lines
You are right, most people do not read because most people do not research security nor program a single byte of code - a couple years ago we had a security team writing many crashes for TeamSpeak 3 (client and server). People just want to leech primarily, I have realized this in running a 70,000 user forum. If you can make anything that people "want to take", they come running and begging for... that.most of the people won't read it all
I normally do both, this is all relevant though. If someone wants to join our security team they are going to learn C++ even if that means they only know how to produce an ELF executable using GCC for C and G++ for C++ - they are going to start with learning something about C++ because Python is nice but C++ is DEFINITELY better. Do not just take my word for it, read over here. There is more comparison of C++ and Python here.make another thread or a Youtube video, it would be better.
Just because something is easy does not make that right. Is Nmap written in Python? Nmap was written in C then ported to C++. ZMap was written in C. Masscan was written in C. Are exploits written in Python? Why sure. Python is a "make it quick" language, simple to learn and work with. Again, just because Python is a 1-2-3 language does not mean that the language is better solely because Python is an easy language.if we use Python instead of C++ since its easy
SEO is not really going to help us, we switched from r4p3.net to ciphers.pw to meet the wants of some people that r4p3 did not sound good (unprofessional). We did this domain transitioning during a time where TeamSpeak was dying (more accurately, hanging by a thread).its just some SEO things you have to do and backlinks in order to be in the first positions in Google Search.