<<<<<<< HEAD
Helpful Terraform Links:
terraform init
terraform plan -var-file="vars/dev-west-2.tfvars"
terraform apply -var-file="vars/dev-west-2.tfvars"
chmod 400 <keypair>
ssh -i <keypair> ec2-user@<public_dns>
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
#To get context information of kubernetes cluster
cat /home/ec2-user/.kube/config
#To create namespace in kubernetes cluster
kubectl create namespace test
#To get deployments in a namespace in kubernetes cluster
kubectl get deployments --namespace=test
#To get services in a namespace in kubernetes cluster
kubectl get svc --namespace=test
#To delete everything in a namespace in kubernetes cluster
kubectl delete all --all -n test
#To delete unused docker images to cleanup memeory on system
docker system prune
#To delete a docker image
docker image rm imagename
#To Create EKS cluster
eksctl create cluster --name kubernetes-cluster --version 1.23 --region us-west-2 --nodegroup-name linux-nodes --node-type t2.xlarge --nodes 2
#To Delete EKS cluster
eksctl delete cluster --region=us-west-2 --name=kubernetes-cluster #delete eks cluster
terraform destroy -var-file="vars/dev-west-2.tfvars"
=======
[](https://travis-ci.org/k-tamura/easybuggy)
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/k-tamura/easybuggy/releases/latest)
EasyBuggy Vulnerable Web App Modified by A Security Guru :baby_symbol:
=
EasyBuggy is a broken web application in order to understand behavior of bugs and vulnerabilities, for example, [memory leak, deadlock, JVM crash, SQL injection and so on](https://github.com/k-tamura/easybuggy#clock4-easybuggy-can-reproduce).

:clock4: Quick Start
-
$ mvn clean install
( or ``` java -jar easybuggy.jar ``` or deploy ROOT.war on your servlet container with [the JVM options](https://github.com/k-tamura/easybuggy/blob/master/pom.xml#L204). )
Access to
http://localhost:8080
:clock4: Quick Start(Docker)
-
$ docker build . -t easybuggy:local # Build container image
$ docker run -p 8080:8080 easybuggy:local # Start easybuggy
Access to
http://localhost:8080
### To stop:
Use <kbd>CTRL</kbd>+<kbd>C</kbd> ( or access to: http://localhost:8080/exit )
:clock4: For more detail
-
See [the wiki page](https://github.com/k-tamura/easybuggy/wiki).
:clock4: Demo
-
This demo shows: Start up -> Infinite Loop -> LDAP Injection -> UnsatisfiedLinkError -> BufferOverflowException -> Deadlock -> Memory Leak -> JVM Crash (Shut down)

:clock4: EasyBuggy can reproduce:
-
* Troubles
* Memory Leak (Java heap space)
* Memory Leak (PermGen space)
* Memory Leak (C heap space)
* Deadlock (Java)
* Deadlock (SQL)
* Endless Waiting Process
* Infinite Loop
* Redirect Loop
* Forward Loop
* JVM Crash
* Network Socket Leak
* Database Connection Leak
* File Descriptor Leak
* Thread Leak
* Mojibake
* Integer Overflow
* Round Off Error
* Truncation Error
* Loss of Trailing Digits
* Vulnerabilities
* XSS (Cross-Site Scripting)
* SQL Injection
* LDAP Injection
* Code Injection
* OS Command Injection (OGNL Expression Injection)
* Mail Header Injection
* Null Byte Injection
* Extension Unrestricted File Upload
* Size Unrestricted File Upload
* Open Redirect
* Brute-force Attack
* Session Fixation Attacks
* Verbose Login Error Messages
* Dangerous File Inclusion
* Directory Traversal
* Unintended File Disclosure
* CSRF (Cross-Site Request Forgery)
* XEE (XML Entity Expansion)
* XXE (XML eXternal Entity)
* Clickjacking
* Performance Degradation
* Slow Regular Expression Parsing
* Delay of creating string due to +(plus) operator
* Delay due to unnecessary object creation
* Errors
* AssertionError
* ExceptionInInitializerError
* FactoryConfigurationError
* GenericSignatureFormatError
* NoClassDefFoundError
* OutOfMemoryError (Java heap space)
* OutOfMemoryError (Requested array size exceeds VM limit)
* OutOfMemoryError (unable to create new native thread)
* OutOfMemoryError (GC overhead limit exceeded)
* OutOfMemoryError (PermGen space)
* OutOfMemoryError (Direct buffer memory)
* StackOverflowError
* TransformerFactoryConfigurationError
* UnsatisfiedLinkError
:clock4: EasyBuggy clones:
-
* [EasyBuggy Boot](https://github.com/k-tamura/easybuggy4sb)
EasyBuggy clone build on Spring Boot

* [EasyBuggy Bootlin](https://github.com/k-tamura/easybuggy4kt)
EasyBuggy clone build on Spring Boot and written in Kotlin

* [EasyBuggy Django](https://github.com/k-tamura/easybuggy4django)
EasyBuggy clone build on Django 2 and written in Python

>>>>>>> fc97e7a24150cf445238a37a529e565a0c9bd7fb