*ARGS.TECH | BLOG | PAGE 4 | Shakhzhakhan Maxudbek's personal blog
Loading...
BLOG


If you've worked with Python's requests library to make HTTPS calls, you've almost certainly run into this wall of yellow text in your console:

InsecureRequestWarning: Unverified HTTPS request is being made.

Adding certificate verification is strongly advised.

See: https://urllib3.readthedocs.io/en/latest/advanced-layout.html#ssl-warnings


This warning is common, frequently Googled, and often "f…


After we're figured out the setup cron jobs in operating system, it's time to learn how to run any scripts in Docker container.


Create folder with your project's name and create there four text files with following names:

myproject/
  - my_script.py
  - cronjob
  - Dockerfile
  - docker-compose.yaml

File my_script.py need for run periodically. It may contain any code for your job. For example:
import requests
r = requests.get(url='https://example.com/')
if r.status_code == 200:
 &…


Допустим тебе надоело работать кассиром в Макдоналдсе, и ты решил ворваться в сферу информационных технологий «с ноги».

Что для этого нужно:
- Усидчивость;
- Терпение;
- Умение пользоваться «Гуглом»;
- Убрать в сторону всякие «не хочу», «не буду».

Что нужно изучать? Все советуют выбрать направление и начинать учиться по нему. Я же скажу что, независимо от выбранного направления, ты должен изучить «базу». Иначе ты становишься хирургом, не знающим анатомию! Не важно, будешь ты инженером по аппаратному …


- Configuring Cisco firewall in Linux machine with Minicom

-> Configuring network access with Cisco ASA via minicom utility


Configuring Cisco ASA 5500-series as network gateway and share internet access to users through local area network (LAN) with DHCP and DNS.


CIsco devices have three mode in command line interface:

- First mode after you connected to device is unprivileged mode. This mode allows only monitoring and you can't modify running configurations.

- Second mode - privileged, allows c…

How to run Java Spring Boot based web application in Linux? You may just run in terminal:

java -jar /home/user/your_project_name/your_project_name.jar

Note: in this case you can't escape from terminal.


Second way - using nohup:

nohup java -jar /home/user/your_project_name/your_project_name.jar &


Ok, it works, but better way for run your application, especially at production server - create systemd service for fully control them (start, stop, see status, etc...).

We need to install Java Developmen…


When you bought new virtual private server (VPS) most providers give machines with remotely root access by SSH protocol, and it's not safe. This article provide some tips for help you increase VPS server's security. Let's start setting up.


First of all connect to your new server:

ssh root@your_servers_ip

Note: provider should send SSH credentials for the new VPS server via email.


Create new user with adduser command:

adduser user


System open interactive shell and will offer you to set some data:

root…

Understanding the SSL: CERTIFICATE_VERIFY_FAILED error


When using the Python requests library to interact with an HTTPS endpoint, you may encounter an ssl.SSLCertVerificationError, often presented as requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed.

import requests


try:

    …

PostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
There is a wealth of information to be found describing how to install and use PostgreSQL through the official documentation.

Install in Debian, Ubuntu:
sudo apt install -y postgresql

By default PostgreSQL listen 5432 port. Check installation was successful with sudo netstat -tlnp | grep 5432 com…

OpenVPN is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It implements both client and server applications. Wikipedia.

Encryption: OpenVPN uses the OpenSSL library to provide encryption of both the data and control channels. It lets OpenSSL do all the encryption and authentication work, allowing OpenVPN to use all the ciphers available in the OpenSSL p…

Aircrack-ng is a complete suite of tools to assess WiFi network security.
It focuses on different areas of WiFi security:
- Monitoring: Packet capture and export of data to text files for further processing by third party tools;
- Attacking: Replay attacks, deauthentication, fake access points and others via packet injection;
- Testing: Checking WiFi cards and driver capabilities (capture and injection);
- Cracking: WEP and WPA PSK (WPA 1 and 2). Official site.

Aircrack-ng is a network software suite…
Top button