ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content

 
sunjester's Photo
sunjester
Reason:  Permanent
Unbanned: Never
Underwurld Admin
2
Reputation
26

Likes

Information

Username Changes:
Joined: 27-12-18
Date of Birth: 41 years old - December 14, 1982
Last Visit: Mar 22 2019 09:14 PM
Profile Views: 1,667

Statistics

Posts: 104
Leecher Value: 465
Likes:
26
Reputation: 2
Warning level: Low
Threads: 90
Credits: 0
Vouches: 0
Trust Scan: Info
Reported posts: 23
Shouts
Loading...

Groups

Awards

Last visitors

  • Photo
    Artman
    29 Jul 2021 - 10:04
  • Photo
    IndigoGoblin
    19 Jun 2021 - 07:04
  • Photo
    charismarole
    14 Dec 2020 - 14:19
  • Photo
    EbonyMaw
    12 Dec 2020 - 23:27
  • Photo
    nvnuv
    02 Dec 2020 - 00:39


[sunjester tuts] Using C# (.NET code/apps) on Linux

11 March 2019 - 09:50 PM

[hide]

Introduction
All of my tutorials are written, tested, and meant to be used on Linux. I am using Ubuntu xenial (currently 16.04). You can use any debian distro and follow any of my tutorials. I will not pander to the Windows kiddies, don't ask.
 
Directions
First, let's check what version you have, you can use the lsb_release command.


lsb_release -a

 
18.04

sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

 
16.04

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt install apt-transport-https ca-certificates
echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update 

 
14.04

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt install apt-transport-https ca-certificates
echo "deb https://download.mono-project.com/repo/ubuntu stable-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

 
Next, install Mono

sudo apt install mono-devel

Now we can compile and then run the C# code below, that i've saved in a file named hello.cs

using System;
 
public class HelloWorld
{
    static public void Main ()
    {
        Console.WriteLine ("Hello World");
    }
}

using the csc to compile
csc hello.cs
 
and using mono to run the .net executable
mono hello.exe
 
WinForms
You can compile the winforms applications using the following argument

-r:System.Windows.Forms.dll

Gtk# Forms


-pkg:gtk-sharp-2.0

[/hide]


14 transparent working proxies

11 March 2019 - 09:05 PM

Hidden Content
You'll be able to see the hidden content once you reply to this topic or upgrade your account.


198 Working anonymous proxies

11 March 2019 - 09:03 PM

Hidden Content
You'll be able to see the hidden content once you reply to this topic or upgrade your account.


[sunjester tuts] Proxy Rotation with Python

07 March 2019 - 02:41 AM

Introduction

All of my tutorials are written in a unix environment. If you are using Kali, perfect. I am using Debian (xenial). If you have any errors, post them here and I'll see what I can do. You will need Python and probably will need the requests library installed.

 

Requests

You can install the requests library with pip

pip install requests

and you can import the library using the import keyword.

#!/usr/bin/env python
import requests

Proxies

Using a proxy with the requests library is easy.

#!/usr/bin/env python
import requests

proxies = {
        "socks5": "67.205.174.209:1080"
}

s = requests.get("https://api.ipify.org", proxies=proxies)
print s.content

Rotation

The theory here is that you "rotate" through proxies as you make requests. You could randomly select a proxy from the array or even do it by timeout. The most simple way is to just iterate through the array as you make the requests, by default, I believe that is what the the requests lib does already. So let's pick a random one.

#!/usr/bin/env python
import requests, random, os

proxies = [
        "163.172.220.221:8888",
        "138.68.41.90:3128"
]

proxy = random.choice(proxies)
os.environ['HTTP_PROXY'] = proxy

s = requests.get("https://api.ipify.org")
print s.content

The script above uses the random library to pick a random one from the array and then uses the os library to set an environment variable to the proxy we randomly selected.


-->