Yousaf K Hamza's Projects
This is Advance Phishing Tool ! OTP PHISHING
The ansible infrastructure is created through terraform (IAC). All the details are fetching through a bash script. So, you don't need to change anything manually all are working automatically but some values are appending with your answer. Also, the infrastructure includes one ansible master server (Constant Redhat Distributer), two ansible client servers (Choosable Redhat/Debian Distributer) please note that both client servers with the same distributor which you opt for. In addition, you can choose both master/client's Instance type would you be like also you can use the infrastructure where you want. Furthermore, Terraform installation is included in the script and It's working with your AWS cloud and your default VPC if anyone needs to connect VPC with the infrastructure please ping me via LinkedIn.
We have created an ASG oriented ansible-playbook with dynamic inventory and its helps to update git contents which if the currently available instances and you can use this manually or automate via Jenkins like (continues deployment) and who use the playbook it never needs to create instances unwanted.
It's an HTML and CSS written website template and it's simply working with webserver only so maybe you guys need proper website content for study purposes mainly we can change the version on AWS education time that we can use this site to use learn blue-green deployment time. So, please check this and use this website on this repo.
This is a terraform script for coast optimization using lambda. So, this script can set up a cron(schedule) to start and stop ec2 servers. So, if we need to work a server like an office time like 9:00 AM to 7:00 PM so we can save our time for the start and stop.
It is an application with PHP with a database. I just tell you the project baseline. There was a website like (blog.com) that website is used for upload blogs/images and there have millions of clients and heavy traffic from viewers. But it's another portion like (blog.com/admin) this section is only used, admins/creators. So, there has no heavy traffic with this URL. So, I have designed to structure to separate servers for viewers and creators through application load balancers (Target group). I know all you have doubts about how to manage the creator's database sync with the viewer's database. I overcome with used an RDS-Master server for admin/creators and I have built RDS-Replica servers to connect with viewers servers. Once, if you have any updates on creators/admin servers you saved a replica stop script on your master server and first stop the replica script then update your kinds of stuff on the master server, and then you can start the server through the same script as the scripts run time new data sync to the viewer's server and new database changes applied to the replica servers.
Here it's a bash script that needs to use this script simply create a directory backup and moved that compressed backup file to a configured S3 bucket with the help of bash script and AWS IAM User with S3 full access. I have added a new feature the script will be suitable for the ubuntu/RedHat repository and the script will install the dependencies as itself. So, let's roll down
It's a simple python script to take backup of directories (compressing) then the same to move your mentioned S3 bucket with the help of AWS IAM User.
Buildah is a tool for building OCI-compatible images through a lower-level Coreutils interface. Similar to Podman, Buildah doesn't depend on a daemon, such as Docker or CRI-O, and it doesn't require root privileges. Buildah provides a command-line tool that replicates all the commands found in a Dockerfile
Certified Kubernetes Administrator - CKA Course
My cheatsheets
This is a combined infrastructure deployment using AWS CloudFormation and Terraform. Also, you guys have a doubt why used both at the same time. Because I just tried to deploy a CloudFormation stack through terraform. Hence, we can avoid automating AWS manual CloudFormation selection and related steps as well, and also, we can simply use the same in a CI/CD pipeline that isn't AWS CodePipeline. Furthermore, you can use that CloudFormation code directly through the AWS console so you can skip terraform that if you don't need it. In addition, I had provided both console and terraform steps in README so please read the same and do with good practice.
This is a simple localhost playbook and this playbook works with your AWS IAM user access/secret key. Furthermore, the playbook's actual working is like deploying the same SSH key to all or multiple regions. So, then whether we can use the same key which we used regions so no need to store multiple keys.
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions
It's a bash script to show a complete DNS lookup of a domain and it might be useful for Linux system/support engineers who handled client support. I believe it helps for these guys to troubleshoot or easy way to find all the details in a single click.
It's just an ansible playbook and that the playbook installs docker and build a nodejs image from a docker file and that docker file fetched from an another repository and after then that image push to your docker hub. I just do this for those who studied ansible and docker from scratch that kind of guy can helpful. It's just creating a docker image through ansible and then pushing that same to the Docker hub.
It's just a sample compose file with WordPress. So, maybe WordPress developers who you guys need to install a WordPress container in one click. Also, it worked with a container so you need to install any other packages with your machine
It's just an ansible playbook and that the playbook installs docker and deploys a nodejs container through that playbook, all that plays are using with inbuilt ansible modules.
Here it's a python script for creating AWS infrastructure through a python script and this is only for educational purposes also, we can do anything via python.
This is a simple bash script for cloning all the repositories under a GitHub user. if you're using a GitHub personal access token with repo privilege then you can clone the private repos too. Also, please note that the bash script is working with GitHub API and forked repos can't be able to clone.
Copyright Disclaimer under section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research.
This is a python based script that is used to download Instagram profile pictures locally and it's generated an imgbb URL of that profile picture.
It's a sample IP location finding the website and that the website fetched the data from ipstack website. Aso, I have containerized this website and also, I included Nginx and Redis containers. Redis act as a cache and Nginx act as a load balancer server because we are using three ipstack containers for efficient working. Also, you can easily set up these containers in your environment because I wrote the above details as a docker-compose. Furthermore, the website is created using python and it's just a demonstration.
Install Jenkins, configure Docker as slave, set up cicd, deploy applications to k8s using Argo CD in GitOps way.
OWASP Juice Shop: Probably the most modern and sophisticated insecure web application
It's an ansible playbook for SSH-Keypair rotation. I write a short brief when we use this: if a customer using a key for which he used all instances in a single key pair. But he needs to change his key periodically with all the instances used in AWS (Also, change the key fingerprint in AWS Console).
Open Source Metering and Usage Based Billing
lamp-ansible-role
It's just a try for application provision through ansible. Maybe it has bugs with other Debian distributer. So please let me know if you have to face any issues while using this then I will help you to figure out and correct the issue. So, please ping me via linked that would be more helpful to correct if any bugs you got.
It's just a python script for analyzing our access log which log were we entered into the script then we can find most hitting IP address and corresponding location.