Skip to content

Instantly share code, notes, and snippets.

View SecurityIsIllusion's full-sized avatar

Rohit Ranjan SecurityIsIllusion

View GitHub Profile
SonarQube_Server_Setup
Tutorials Followed:
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/installation-and-confi guration.md
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/additional-configurat ions.md
https://docs.sonarqube.org/display/SONAR/Installing+the+Server
System Requirements:
Windows Server 2012 RAM: 8GB
Software Requirements:
Java (JDK/JRE)
MSSQL Server/ SQL Server
Installation:
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/installation-and-configuration.md
Setting up DB:
https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/additional-configurations.md
DB drivers:
https://docs.sonarqube.org/display/SONAR/Installing+the+Server
Steps:
1. Setting up SonarQube
https://www.sonarqube.org/downloads/
2. Setting up SonarQube Scanner
https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner
3. Setting Sonar Scanner's path in environment variable
C:\Users\rohit.ranjan\Desktop\code_review\sonar-scanner-cli-3.2.0.1227-windows\sonar-scanner-3.2.0.1227-windows\bin
4. Setting Sonar Scanner's conf
C:\Users\rohit.ranjan\Desktop\code_review\sonar-scanner-cli-3.2.0.1227-windows\sonar-scanner-3.2.0.1227-windows\conf
For java:
netdiscover -r 192.168.43.0/24
nmap 192.168.43.3
PORT STATE SERVICE
80/tcp open http
sparta
192.168.43.3
open pcap in wireshark
@SecurityIsIllusion
SecurityIsIllusion / OSCP Preparation
Created July 30, 2017 20:38
Analoguepond 1 Walkthrough
IP: 192.168.43.254
nmap 192.168.43.254 -A
port 22 was open
nmap 192.168.43.254 -sU -v
port 22
port 161 udp
@SecurityIsIllusion
SecurityIsIllusion / OSCP Preparation
Created July 30, 2017 15:02
Proteus Walkthrough
Issue with Virtual Box, hence used VMware Player
netdiscover -r 192.168.43.0/24
nmap 192.168.43.27
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
5355 llmnr
@SecurityIsIllusion
SecurityIsIllusion / OSCP Preparation
Created July 22, 2017 14:03
BrainPan2 Walkthrough 22 June 2017
netdiscover -r 192.168.43.0/24
nmap 192.168.43.132
PORT STATE SERVICE
9999/tcp open abyss
10000/tcp open snet-sensor-mgmt
MAC Address: 08:00:27:13:36:8F (Oracle VirtualBox virtual NIC)
nmap 192.168.43.132 -A -Pn
@SecurityIsIllusion
SecurityIsIllusion / iOS_Cydia_Error_Fix.txt
Last active July 20, 2017 13:48
iOS 32-bit Jailbreak iPhone 5 iOS 9.3.2
Device: iPhone 5
Model: 1429
Architecture: 32 bit
Jailbreak: Homedepot Jailbreak
Issue: Ran Reset (Factory Setting Restore) on Jailbroken iPhone 5
P.S: Never Reset a Jailbroken device, as it will corrupt Cydia
Impact: Cydia corrupted, won't work
Symptoms: Different types of error will be thrown like Error Code 2 etc.
Resolution: Two Resolutions exist
1. Upgrade to the Latest iOS which is signed by Apple