Coder Social home page Coder Social logo

httptoolkit / httptoolkit-website Goto Github PK

View Code? Open in Web Editor NEW
67.0 67.0 24.0 250.13 MB

The main website of HTTP Toolkit: beautiful, cross-platform & open-source tools to debug, test and develop with HTTP(S).

Home Page: https://httptoolkit.com

License: MIT License

JavaScript 99.97% Dockerfile 0.03%

httptoolkit-website's Introduction

HTTP Toolkit Site

To run locally:

# Install deps
npm install

# Run for local dev
npm start

httptoolkit-website's People

Contributors

dependabot[bot] avatar hacker1024 avatar jdkaplan avatar kosmas avatar mkantor avatar nielsvhb avatar philsturgeon avatar pimterry avatar redryerye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

httptoolkit-website's Issues

Can't connect to HTTP ToolKit On Android 9

OS: Samsung Android 9
PC: MacOS BigSur
Log:

01-25 11:29:06.106 15860 19702 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy 10.0.2.2:8000
01-25 11:29:06.106 15860 19368 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy 10.0.3.2:8000
01-25 11:29:06.106 15860 18401 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy fe80::aede:48ff:fe00:1122:8000
01-25 11:29:06.106 15860 17779 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy fe80::1c43:3d61:14f9:389:8000
01-25 11:29:06.106 15860 19885 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy 2001:ee0:53fe:1ce0:10bf:34c8:794e:eac8:8000
01-25 11:29:06.107 15860 18313 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy 2001:ee0:53fe:1ce0:8cfa:3da8:ea28:e481:8000
01-25 11:29:06.108 15860 19695 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy 192.168.1.22:8000
01-25 11:29:06.109 15860 18401 D NetworkManagementSocketTagger: tagSocket(71) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.109 15860 19368 D NetworkManagementSocketTagger: tagSocket(72) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.109 15860 18313 D NetworkManagementSocketTagger: tagSocket(74) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.109 15860 17779 D NetworkManagementSocketTagger: tagSocket(82) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.110 15860 19702 D NetworkManagementSocketTagger: tagSocket(70) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.110 15860 19695 D NetworkManagementSocketTagger: tagSocket(85) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.111  2743  2743 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
01-25 11:29:06.111  2743  2743 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
01-25 11:29:06.111 15860 19885 D NetworkManagementSocketTagger: tagSocket(80) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.111 15860 19887 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy fe80::38cb:5ff:feda:e05f:8000
01-25 11:29:06.114 15860 18313 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address 2001:ee0:53fe:1ce0:8cfa:3da8:ea28:e481: java.net.ConnectException: Failed to connect to /2001:ee0:53fe:1ce0:8cfa:3da8:ea28:e481:8000
01-25 11:29:06.115 15860 19702 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address 10.0.2.2: java.net.ConnectException: Failed to connect to /10.0.2.2:8000
01-25 11:29:06.116 15860 19887 D NetworkManagementSocketTagger: tagSocket(69) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.116 15860 19695 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address 192.168.1.22: java.net.ConnectException: Failed to connect to /192.168.1.22:8000
01-25 11:29:06.116 15860 17779 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address fe80::1c43:3d61:14f9:389: java.net.ConnectException: Failed to connect to /fe80::1c43:3d61:14f9:389:8000
01-25 11:29:06.116 15860 19368 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address 10.0.3.2: java.net.ConnectException: Failed to connect to /10.0.3.2:8000
01-25 11:29:06.117 15860 18401 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address fe80::aede:48ff:fe00:1122: java.net.ConnectException: Failed to connect to /fe80::aede:48ff:fe00:1122:8000
01-25 11:29:06.118 15860 19698 V tech.httptoolkit.android (kotlinx.coroutines.SupervisorCoroutine): Proxy tests started
01-25 11:29:06.119 15860 19885 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address 2001:ee0:53fe:1ce0:10bf:34c8:794e:eac8: java.net.ConnectException: Failed to connect to /2001:ee0:53fe:1ce0:10bf:34c8:794e:eac8:8000
01-25 11:29:06.119 15860 19696 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy fe80::7870:8f78:7671:e150:8000
01-25 11:29:06.119 15860 19888 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy fe80::38cb:5ff:feda:e05f:8000
01-25 11:29:06.120 15860 19887 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address fe80::38cb:5ff:feda:e05f: java.net.ConnectException: Failed to connect to /fe80::38cb:5ff:feda:e05f:8000
01-25 11:29:06.120 15860 19890 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy 192.168.57.1:8000
01-25 11:29:06.121 15860 20106 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy fe80::ae8b:c62a:46c0:d5f4:8000
01-25 11:29:06.121 15860 19888 D NetworkManagementSocketTagger: tagSocket(69) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.121 15860 19696 D NetworkManagementSocketTagger: tagSocket(70) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.124 15860 19890 D NetworkManagementSocketTagger: tagSocket(69) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.125 15860 19696 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address fe80::7870:8f78:7671:e150: java.net.ConnectException: Failed to connect to /fe80::7870:8f78:7671:e150:8000
01-25 11:29:06.126 15860 20106 D NetworkManagementSocketTagger: tagSocket(70) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.126 15860 19888 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address fe80::38cb:5ff:feda:e05f: java.net.ConnectException: Failed to connect to /fe80::38cb:5ff:feda:e05f:8000
01-25 11:29:06.127 15860 19890 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address 192.168.57.1: java.net.ConnectException: Failed to connect to /192.168.57.1:8000
01-25 11:29:06.130 15860 20106 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address fe80::ae8b:c62a:46c0:d5f4: java.net.ConnectException: Failed to connect to /fe80::ae8b:c62a:46c0:d5f4:8000
01-25 11:29:06.132 15860 19890 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Testing proxy 127.0.0.1:8000
01-25 11:29:06.134 15860 19890 D NetworkManagementSocketTagger: tagSocket(69) with statsTag=0xffffffff, statsUid=-1
01-25 11:29:06.146  3173  5664 D SamsungAlarmManager: Cancel Alarm calling from uid:10073 pid :4492 / op:PendingIntent{b418d0f: PendingIntentRecord{a424052 com.google.android.gms broadcastIntent}}
01-25 11:29:06.148 15860 19890 I tech.httptoolkit.android (kotlinx.coroutines.UndispatchedCoroutine): Error testing proxy address 127.0.0.1: java.net.SocketException: Connection reset
01-25 11:29:06.149  3173  5664 I SamsungAlarmManager: setLocked to kernel - T:2 / 20220125T113008, SetElapsed=1983446, nowELAPSED=1920896
01-25 11:29:06.149  3173  5664 I SamsungAlarmManager: setLocked to kernel - T:3 / 20220125T113000, SetElapsed=1974747, nowELAPSED=1920896
01-25 11:29:06.149 15860 19890 E tech.httptoolkit.android (kotlinx.coroutines.DispatchedCoroutine): java.net.SocketException: Connection reset
01-25 11:29:06.149 15860 19890 W System.err: java.net.SocketException: Connection reset
01-25 11:29:06.149  3173  5664 D SamsungAlarmManager: setExact Listener (T:2/F:0/AC:false) 20220125T112908 - CU:1000/CP:3173
01-25 11:29:06.149  3173  5664 I SamsungAlarmManager: setLocked to kernel - T:2 / 20220125T112908, SetElapsed=1922749, nowELAPSED=1920897
01-25 11:29:06.149 15860 19890 W System.err: 	at java.net.SocketInputStream.read(SocketInputStream.java:215)
01-25 11:29:06.149 15860 19890 W System.err: 	at java.net.SocketInputStream.read(SocketInputStream.java:144)
01-25 11:29:06.149 15860 19890 W System.err: 	at okio.InputStreamSource.read(Okio.kt:93)
01-25 11:29:06.150 15860 19890 W System.err: 	at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:129)
01-25 11:29:06.150 15860 19890 W System.err: 	at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:449)
01-25 11:29:06.150 15860 19890 W System.err: 	at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:333)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.kt:210)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:181)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:105)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:37)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:71)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:194)
01-25 11:29:06.150 15860 19890 W System.err: 	at okhttp3.RealCall.execute(RealCall.kt:67)
01-25 11:29:06.150 15860 19890 W System.err: 	at tech.httptoolkit.android.ProxySetupKt$request$2.invokeSuspend(ProxySetup.kt:136)
01-25 11:29:06.150 15860 19890 W System.err: 	at tech.httptoolkit.android.ProxySetupKt$request$2.invoke(Unknown Source:10)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:91)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:154)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
01-25 11:29:06.150 15860 19890 W System.err: 	at tech.httptoolkit.android.ProxySetupKt.request(ProxySetup.kt:135)
01-25 11:29:06.150 15860 19890 W System.err: 	at tech.httptoolkit.android.ProxySetupKt$testProxyAddress$2.invokeSuspend(ProxySetup.kt:100)
01-25 11:29:06.150 15860 19890 W System.err: 	at tech.httptoolkit.android.ProxySetupKt$testProxyAddress$2.invoke(Unknown Source:10)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:91)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:154)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
01-25 11:29:06.150 15860 19890 W System.err: 	at tech.httptoolkit.android.ProxySetupKt.testProxyAddress(ProxySetup.kt:86)
01-25 11:29:06.150 15860 19890 W System.err: 	at tech.httptoolkit.android.ProxySetupKt$getProxyConfig$2$1.invokeSuspend(ProxySetup.kt:71)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:55)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:561)
01-25 11:29:06.150 15860 19890 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:727)
01-25 11:29:06.151 15860 19890 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:667)
01-25 11:29:06.151 15860 19890 W System.err: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:655)

security?

Been looking for something like this for a long time. But it makes me pretty nervous to install something that can intercept all http activity. Can you reassure me somehow that this is not incredibly dangerous?

[ Error ] - Unable to install the web server locally

I run npm install and after a few seconds I got this error:
Any idea what would be happening?

Thanks

10226 timing reify:rollback:retireShallow Completed in 0ms
10227 timing command:install Completed in 63876ms
10228 verbose stack HttpErrorAuthUnknown: Unable to authenticate, need: Basic realm="https://npm.fontawesome.com/",service="npm.fontawesome.com"
10228 verbose stack     at /home/ubuntu/.nvm/versions/node/v14.17.0/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:84:17
10228 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:95:5)
10229 verbose statusCode 401
10230 verbose pkgid @fortawesome/react-fontawesome@https://npm.fontawesome.com/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.4.tgz
10231 verbose cwd /home/ubuntu/Projects/httptoolkit.tech
10232 verbose Linux 5.11.0-41-generic
10233 verbose argv "/home/ubuntu/.nvm/versions/node/v14.17.0/bin/node" "/home/ubuntu/.nvm/versions/node/v14.17.0/bin/npm" "install"
10234 verbose node v14.17.0
10235 verbose npm  v8.1.3
10236 error code E401
10237 error Incorrect or missing password.
10238 error If you were trying to login, change your password, create an
10238 error authentication token or enable two-factor authentication then
10238 error that means you likely typed your password in incorrectly.
10238 error Please try again, or recover your password at:
10238 error     https://www.npmjs.com/forgot
10238 error
10238 error If you were doing some other operation then your saved credentials are
10238 error probably out of date. To correct this please try logging in again with:
10238 error     npm login
10239 verbose exit 1

frida-certificate-pinning: no such file or directory

I see this:

# Copy the server to the device
adb push ./frida-server-$version-android-$arch /data/local/tmp/frida-server
#        ^Change this to match the name of the binary you just extracted

# Enable root access to the device
adb root

# Make the server binary executable
adb shell "chmod 755 /data/local/tmp/frida-server"

# Start the server on your device
adb shell "/data/local/tmp/frida-server &"

https://httptoolkit.com/blog/frida-certificate-pinning/

but it doesnt work:

> adb push C:/Users/Steven/Documents/frida-server-16.1.4-android-x86 /data/local/tmp/frida-server
C:/Users/Steven/Documents/frida-server-16.1.4-android-x86: 1 file pushed, 0 skipped. 164.1 MB/s (51624572 bytes in 0.300s)

> adb root
adbd is already running as root

> adb shell "chmod 755 /data/local/tmp/frida-server"
> adb shell "/data/local/tmp/frida-server &"
/system/bin/sh: /data/local/tmp/frida-server: No such file or directory

Timestamp blog posts

Hello there, came here from your website.
I've been reading this blog post and had hard time to find out the publication date and time. Please consider putting such timestamp at the top of the post (not like X days ago, be explicit). Just a friendly recommendation was passing by... 😀
Have a good one.

FA icons appear unstyled for a short duration

The font awesome icons lack styling for a short duration, before the CSS gets applied during runtime.

Expected behaviour

The CSS rules should be present in the server-rendered content.

Proposed solution

  1. Stop FA from applying the styles during runtime
// styles.js

fontawesome.config.autoAddCss = false;
  1. Include them globally beforehand in layouts/index.js
// layouts/index.js

import Header from '../components/header';
import Footer from '../components/footer';

import 'prismjs/themes/prism-tomorrow.css';
// adding
import '@fortawesome/fontawesome/styles.css';

Adding the styles in gatsby-browser.js should suffice but doesn't seem to be working in Gatsby v1.

Example

unnamed

Elsewhere on GH

FortAwesome/react-fontawesome#134

Specifications

whatsmybrowser.org/b/Q7HKKH7


Would love to submit a PR if needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.