Giter Club home page Giter Club logo

oscp-filetransfer's Introduction

OSCP File Transfer Tool

This repository provides a streamlined solution for file transfers during the OSCP exam using various protocols, including FTP, PUT, and SMB.

Installation

  1. Clone the Repository:
$ git clone https://github.com/Bit-ByteBandit/OSCP-FIleTransfer.git
  1. Navigate to the Directory:
$ cd OSCP-FIleTransfer
  1. Install Dependencies:
$ python3 -m pip install -r requirements.txt

Usage

The tool offers flexible transfer methods and customizable options:

oscp-transfer.py -m {METHOD} [options]

Options:

  • -h, --help: Display the help message and exit.

  • -m {PUT, FTP, SMB, GET}: Choose the transfer method.

  • -l PORT: Specify the listening port (default: 21 for FTP).

  • -d DIRECTORY: For FTP or SMB, set the working directory

  • -sh SHARE name for SMB.

  • -u USERNAME: Provide the FTP or smb username (default for ftp only: user).

  • -p PASSWORD: Provide the FTP or smb password (default for ftp only: user).

Examples:

  • Initiate a GET server on port 80:
oscp-transfer.py -m GET -l 80
  • Initiate a PUT server on port 80:
oscp-transfer.py -m PUT -l 80
  • Use FTP with custom options:
oscp-transfer.py -m ftp -l 21 -d /path/to/directory -u username -p password
  • Use SMB with a username and a password:
oscp-transfer.py -m smb -u foo -p foo -sh MySharefoo -smb2

Running Servers

Start GET-HTTP Server:

oscp-transfer.py -m GET

Start SMB Server:

oscp-transfer.py -m SMB

Start FTP Server:

oscp-transfer.py -m FTP

Start PUT-HTTP Server:

python3 oscp-transfer.py -m PUT

Upload a file using PUT request:

curl http://[IP] -T [File]

oscp-filetransfer's People

Contributors

bit-bytebandit avatar zorbit01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.