When attacking a respectable pilot, you run the risk of being attacked by the ships of the system’s security service (ships of white color). In this case you will have a choice: fight or surrender. If you remove the weapon modules and stop the spaceship, then you will be fined and the security service will stop attacking you. The fine should be paid at any station of the system if you want to continue using the station’s services. In case of a repeated violation, if you have an unpaid penalty, the system guards will attack you until completely destroying your ship.
If you attack a pilot who is on the wanted list and destroy their ship, you will get a reward for their elimination. It doesn’t matter if you were the only one who participated in the destruction of the pirate’s ship or someone helped you to destroy it, you will get a reward in any case. You can pick up your reward at any station in the system.