Skip to content

Instantly share code, notes, and snippets.

@mayrund
mayrund / getPortByProcessName.bat
Last active November 19, 2016 19:58
Windows Get Port by Process Name
for /f "tokens=2 delims=," %F in ('tasklist /nh /fi "imagename eq sqlservr.exe" /fo csv') do netstat -oan | findstr %~F
(Note: Please replace % with %% when running in Batch file instead of Command Line)
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
using System;
using System.Timers;
namespace SteamBot
{
public class KeyUserHandler : UserHandler
{
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
using System;
using System.Timers;
namespace SteamBot
{
public class KeyUserHandler : UserHandler
{
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
using System;
using System.Timers;
namespace SteamBot
{
public class KeyUserHandler : UserHandler
{
@waylaidwanderer
waylaidwanderer / KeyUserHandler.cs
Last active February 8, 2018 21:52
Keybanking bot written by http://steamcommunity.com/id/waylaidwanderer/ - coded using SteamBot wrapper (https://github.com/Jessecar96/SteamBot) THERE IS NO SUPPORT FOR THIS USERHANDLER. This code is outdated, may be exploitable, and should only be used as a guideline. Use at your own personal risk.
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
using System;
using System.Timers;
namespace SteamBot
{
public class KeyUserHandler : UserHandler
{
@waylaidwanderer
waylaidwanderer / ScrapUserHandler.cs
Last active December 19, 2015 11:38
Scrapbanking bot written by http://steamcommunity.com/id/waylaidwanderer/ - coded using SteamBot wrapper (https://github.com/Jessecar96/SteamBot)THERE IS NO SUPPORT FOR THIS USERHANDLER. This code is outdated, may be exploitable, and should only be used as a guideline. Use at your own personal risk.
using SteamKit2;
using SteamTrade;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Timers;
namespace SteamBot
{
public class ScrapUserHandler : UserHandler