Most rivet guns work around the principle of a basic pneumatic hammer, and fire bolts into vehicle plating.
More information about the gear available on the Wookieepedia article.
RIVET GUN
Source: 1

Skill Ranged (Light) Range Engaged Encumbrance 4 Price 900 Rarity 1 Damage 4 Critical Rating 3 Hard Points 1 Special Ensnare 1, Inaccurate 2, Limited Ammo 1
A rivet gun reduces the difficulty of Mechanics checks to repair Critical Hits on vehicles and starships by 1 (to a minimum of Simple [–]).
CUSTOM ATTACHMENT
Source: 2
Top-Loading Magazine: By switching out the standard single-bolt loading system for a cobbled-together “magazine” containing numerous bolts, a skilled craftsperson can increase the number of rivets the gun can place per minute dramatically.
Base Modifiers: Removes the Limited Ammo 1 quality.
Modification Options: None.
Hard Points Required: 1.
Price/Rarity: 50/1.
Encumbrance: 0.
CUSTOM ATTACHMENT
Source: 2
Balanced Barrel: Adding a functional barrel to a rivet gun can give it dramatically more range and accuracy as a shooting weapon.
Base Modifiers: Increases range to short.
Modification Options: 2 decrease Inaccurate quality by 1 Mods.
Hard Points Required: 1.
Price/Rarity: 150/3.
Encumbrance: 1.
Footnotes
-
Special Modifications: A Sourcebook for Technicians (Page 45) ↩
-
Special Modifications: A Sourcebook for Technicians (Page 46) ↩ ↩2