Quasar icon indicating copy to clipboard operation
Quasar copied to clipboard

Documentation on how to add new features

Open mshafiqsb opened this issue 9 years ago • 7 comments

Is there any guide line in flowchart form. if this is available then new one will not invent the wheel.

mshafiqsb avatar Aug 08 '16 17:08 mshafiqsb

as of right now there aren't any but the process is quite straight forward.

  1. Create Packets for server/client (Follow the naming convention like Do prefix for one way operations and Get prefix for Two Way operation (put packets in appropriate folders)
  2. Register the packets in PacketRegistry
  3. Create the respective packet/command handler(CommandHandler)
  4. Add the required if statement in PacketHandler that is about it. If you observe the code you will see a consistency regarding the naming and other stuff just try to follow that

abdullah2993 avatar Aug 09 '16 03:08 abdullah2993

Currently it exists no official flowchart which you can follow to add new features, best thing you can do is to look at the already implemented features and see how they are implemented and where things are referenced and used. @Abdullah2993 described the workflow pretty well, thanks.

MaxXor avatar Aug 09 '16 08:08 MaxXor

I'm sorry if this is too noobish of a question but, how would audio-streaming (like the target machine's speakers or microphone) fit in this workflow described by @Abdullah2993 ? Would I need "SoundPackets"?

mvrozanti avatar Aug 20 '16 04:08 mvrozanti

You would need ServerPackets to request the start/end of audio-stream and ClientPackets to send the audio data to the Server.

MaxXor avatar Aug 20 '16 09:08 MaxXor

@mvrozanti i have a working version of remote mic..let me push it to my git

abdullah2993 avatar Aug 24 '16 04:08 abdullah2993

@Abdullaah2993 oh man thanks I'm having trouble doing it after registering the packets, the client stops working. I'd love to see what you've done

mvrozanti avatar Aug 24 '16 12:08 mvrozanti

@mvrozanti https://github.com/Abdullah2993/QuasarRAT/tree/dev_dss_mic_trim_wip it is wiped together version. I'm a little busy for the next 2 days I'll send in a pull request in a few days after fixing the chart control and adding different encodings

abdullah2993 avatar Aug 30 '16 09:08 abdullah2993