Skip to content

Commit

Permalink
With great power comes great responsibility
Browse files Browse the repository at this point in the history
The africana-framework is a software designed for network & web hacking by automating as much stuff as possible to detect vulnerabilities on most common services and web technologies. It also has some wide range of penetration testing from internal network, WIFI, system anonymity to web bug hunting. It's purely written for Good and not Evil
  • Loading branch information
r0jahsm0ntar1 committed Jul 3, 2024
1 parent abf12c1 commit 2b7778e
Show file tree
Hide file tree
Showing 14 changed files with 613 additions and 145 deletions.
10 changes: 5 additions & 5 deletions africana.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ func anonymitySetups() {
africanaFramework()
return
case "1":
securities.Vanishstart ( )
securities.AnonymitySetups ( )
case "2":
securities.Vanishstart ( )
securities.AnonymityStart ( )
case "3":
securities.Vanishstop ( )
securities.AnonymityStop ( )
case "4":
securities.ChecktorStatus ( )
securities.AnonymityStatus ( )
case "5":
securities.ChainsStatus ( )
securities.AnonymityChains ( )
case "99", "m", "M", "menu", "Menu", "MENU":
menus.MenuTwo()
case "00", "h", "H", "help", "Help", "HELP":
Expand Down
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ replace banners => ./src/core/banners/

replace agreements => ./src/agreements/

replace configures => ./src/configures/

replace scriptures => ./src/scriptures/

replace securities => ./src/securities/
Expand All @@ -39,7 +37,6 @@ require (
banners v0.0.0-00010101000000-000000000000 // indirect
bcolors v0.0.0-00010101000000-000000000000 // indirect
butchers v0.0.0-00010101000000-000000000000 // indirect
configures v0.0.0-00010101000000-000000000000 // indirect
crackers v0.0.0-00010101000000-000000000000 // indirect
credits v0.0.0-00010101000000-000000000000 // indirect
internals v0.0.0-00010101000000-000000000000 // indirect
Expand Down
101 changes: 0 additions & 101 deletions src/configures/configures.go

This file was deleted.

1 change: 0 additions & 1 deletion src/configures/go.mod

This file was deleted.

4 changes: 2 additions & 2 deletions src/core/banners/banners.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package banners

import (
"time"
"fmt"
"time"
"bcolors"
"math/rand"
)
var (
version = "v2.0.5"
version = "v2.0.6"
)

type Banners struct{}
Expand Down
2 changes: 2 additions & 0 deletions src/core/bcolors/bcolors.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ var (
DARKGREEN = "\033[32m"
MAGENTA = "\033[35m"
DARKCYAN = "\033[36m"
LIGHTGREY = "\033[37m"
DARKGREY = "\033[90m"
backBlack = "\033[40m"
backRed = "\033[41m"
backGreen = "\033[42m"
Expand Down
4 changes: 2 additions & 2 deletions src/core/setups/setups.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package setups

import (
"fmt"
"os"
"fmt"
"menus"
"utils"
"bcolors"
Expand Down Expand Up @@ -84,7 +84,7 @@ func RemoveSetups() {
fmt.Scan(&userInput)
switch userInput {
case "y", "Y", "yes", "Yes", "YES":
subprocess.Popen(`rm -rf /root/.africana/; rm -rf /usr/local/bin/africana`)
subprocess.Popen(`rm -rf /root/.africana/; rm -rf /usr/local/bin/africana; rm -rf /etc/privoxy/config; mv /etc/privoxy/config.bak_africana /etc/privoxy/config; rm -rf /etc/squid/squid.conf; mv /etc/squid/squid.conf.bak_africana /etc/squid/squid.conf; rm -rf /etc/dhcp/dhclient.conf; mv /etc/dhcp/dhclient.conf.bak_africana /etc/dhcp/dhclient.conf; rm -rf /etc/dnsmasq.conf; mv /etc/dnsmasq.conf.bak_africana /etc/dnsmasq.conf`)
fmt.Println(bcolors.ENDC + "\n" + `¯\_(ツ)_/¯` + bcolors.DARKCYAN + "🧬Africana Fully. " + bcolors.YELLOW + "Uninstalled!" + bcolors.ENDC)
return
case "n", "N", "no", "No", "NO":
Expand Down
2 changes: 1 addition & 1 deletion src/core/subprocess/subprocess.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package subprocess

import (
"fmt"
"os"
"fmt"
"os/exec"
"runtime"
)
Expand Down
18 changes: 16 additions & 2 deletions src/core/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import (
"net"
"fmt"
"time"
"syscall"
"bcolors"
"strings"
"runtime"
"math/big"
"os/signal"
"io/ioutil"
"subprocess"
"crypto/rand"
Expand Down Expand Up @@ -75,7 +77,7 @@ func generateSelfSignedCert(certPath, keyPath string) {
template := x509.Certificate{
SerialNumber: serialNumber,
Subject: pkix.Name{
Organization: []string{"Your Organization"},
Organization: []string{"The End Time Ministries"},
},
NotBefore: notBefore,
NotAfter: notAfter,
Expand Down Expand Up @@ -143,6 +145,16 @@ func Editors(filesToReplacements map[string]map[string]string) {
}
}

func Handler() {
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGINT)
go func() {
<-c
fmt.Println(bcolors.Colors() + bcolors.BOLD + "\nCTRL-C detected. Exiting.... " + bcolors.ENDC)
os.Exit(0)
}()
}

func ClearScreen() {
if runtime.GOOS == "linux" {
subprocess.Popen("clear")
Expand All @@ -165,8 +177,10 @@ func Certs() {

func WordLists() {
if runtime.GOOS == "linux" {
filePath := "/usr/share/wordlists/rockyou.txt"
filePath := "/usr/share/wordlists/rockyou.txt.gz"
if _, err := os.Stat(filePath); os.IsNotExist(err) {
fmt.Printf(bcolors.BLUE + "[+] " + bcolors.RED + "wordlists not installed in your operating system.\n" + bcolors.ENDC)
} else {
subprocess.Popen(`gunzip /usr/share/wordlists/rockyou.txt.gz`)
}
}
Expand Down
37 changes: 27 additions & 10 deletions src/credits/credits.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
func Contributors() {
fmt.Printf(bcolors.ENDC + bcolors.ITALIC + `
🦊Africana-Framework` + bcolors.ENDC)
credits := bcolors.DARKCYAN + `
[ Special thanks to the following people whose third party]
[ tools have been modified and used to contribute to the..]
[ creation of africana-framework:.........................]
credits := bcolors.BLUE + `
(Special thanks to the following people whose third party.)
(tools have been modified and used to contribute to the...)
(creation of africana-framework:..........................)
` + bcolors.ENDC
for _, c := range credits {
fmt.Print(string(c))
Expand Down Expand Up @@ -118,6 +118,23 @@ func Contributors() {
func Developer() {
fmt.Printf(bcolors.ENDC + bcolors.ITALIC + `
🛰️ About the author` + bcolors.ENDC)
fmt.Printf(bcolors.ORANGE + `
(Genesis)+------------------------------------------------+
| Rojahs Montari Machine Pentesters For Exploration |
+---------------------------------------------------------+
A F R I C A N A Framework.
* * * * * * * * *
| | | | | | | | |
| | | | | | | | +- 1. Install.]
| | | | | | | +------ 2. Proxies.]
| | | | | | +----------- 3. Networks]
| | | | | +---------------- 4. C2 & RAT]
| | | | +--------------------- 5. Wireless]
| | | + ------------------------- 6. Cracking]
| | + ------------------------------ 7. Phishing]
| +------------------------------------ 8. Website.]
+----------------------------------------- 9. Credits.]
` + bcolors.ENDC)
developer := bcolors.BLUE + `
[ I am Rojahs Montari a Devoted Christian & Pentester.....]
[ One might describe me as an erudite.....................]
Expand Down Expand Up @@ -149,12 +166,12 @@ func Developer() {
}
fmt.Printf(bcolors.ENDC + bcolors.ITALIC + bcolors.BLINK + `
🛰️ The devil has no power over you soldier` + bcolors.ENDC)
fmt.Printf(bcolors.ORANGE + bcolors.ITALIC + `
[ What is there 4 U 2 gain the whole world & loose your...]
[ soul? Be smart your Creator has good plans for you......]
[ Life Tip.: Defeat the devil by fasting & praying........]
[ Email....: rojahsmontari@gmail.com......................]
[ YouTube..: https://youtube.com/@RojahsMontari...........]` + bcolors.ENDC)
fmt.Printf(bcolors.RED + bcolors.ITALIC + `
(What is there 4 U 2 gain the whole world & loose your....)
(soul? Be smart your Creator has good plans for you.......)
(Life Tip.: Defeat the devil by fasting & praying.........)
(Email....: rojahsmontari@gmail.com.......................)
(YouTube..: https://youtube.com/@RojahsMontari............)` + bcolors.ENDC)
fmt.Printf(bcolors.DARKGREEN + `
__ _____ _____ _ _
__| |___ ___ _ _ ___| | | |___|_|___| |_
Expand Down
6 changes: 3 additions & 3 deletions src/internals/internals.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package internals
import (
"os"
"fmt"
"time"
"utils"
"menus"
"bufio"
"bcolors"
"strings"
"io/ioutil"
"bcolors"
"menus"
"time"
"subprocess"
)

Expand Down
Loading

0 comments on commit 2b7778e

Please sign in to comment.