Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ––––––––––––––––––
- Friday, October 30, 2015 - weevlar
- ––––––––––––––––––
- Encrypted OTR chat initiated. (3:01:12 AM)
- 3:02:06 AM Mike Bell: i take it the site's down atm
- 3:02:35 AM weevlar : site is up and fine
- 3:02:42 AM Mike Bell: stormfront.org?
- 3:02:46 AM weevlar : no
- 3:02:47 AM Mike Bell: oh wait
- 3:02:51 AM Mike Bell: lol, fuck im out of it
- 3:03:36 AM Mike Bell: i need the login again. i think i can handle the rest from there
- 3:08:22 AM weevlar : which login
- 3:08:30 AM Mike Bell: wordpress
- 3:08:38 AM weevlar : shouldn't need it
- 3:08:53 AM weevlar : not writing anything for wordpress now
- 3:08:58 AM Mike Bell: i need the api url that im querying at the very least
- 3:08:59 AM weevlar : just the plain page
- 3:13:57 AM weevlar : https://wordpress.org/plugins/disqus-popular-posts/
- 3:13:57 AM weevlar : look for it in here
- Changed status to Offline (3:14:33 AM)
- Changed status to Online (3:16:14 AM)
- 3:23:36 AM weevlar : lGHD4BlIOHq0yItQYVg8zHNIqJdrJ69CQRmVcdys8Ptqg7CiQydksr2ZWMihEYgh
- 3:23:39 AM weevlar : dailystormer
- 3:26:20 AM Mike Bell: thanks. hopefully i wont need more than that to reconstruct the api call.
- You have disconnected (3:32:04 AM)
- ––––––––––––––––––
- Saturday, October 3, 2015 - weevlar
- ––––––––––––––––––
- 3:58:40 PM weevlar : ssh root@46.244.20.19
- 3:58:44 PM weevlar : whats your email
- 3:59:05 PM Mike Bell: ezuratechan@gmail.com
- 4:01:59 PM weevlar : for wordpress login: htttp://www.dailystormer.com/wp-admin/ login: darkmage password: 1man1jar!Nevertoofar
- 4:02:49 PM weevlar : now the job that needs to be done right now
- 4:03:03 PM weevlar : is there's a plugin
- 4:03:13 PM weevlar : disqus popular posts
- 4:03:17 PM weevlar : it uses the disqus APIs
- 4:03:34 PM weevlar : well, supposedly it does
- 4:03:39 PM weevlar : to grab the top 10 most commented posts
- 4:03:48 PM weevlar : top x rather, it's a variable you can change
- 4:03:50 PM weevlar : but we want top 10
- 4:03:52 PM Mike Bell: right
- 4:04:07 PM weevlar : and we want it in the sidebar
- 4:04:19 PM Mike Bell: so, there should be a mechanism to grab # comments from each post
- 4:04:20 PM weevlar : here's the credentials for the related disqus account
- 4:04:27 PM weevlar : l:
- andrewanglin1984@gmail.com
- p:
- 4:04:30 PM weevlar :
- IOoibsd@$obweu**^332
- 4:04:40 PM weevlar : there's api handles for it
- 4:04:43 PM Mike Bell: cool
- 4:04:45 PM weevlar : oh shit the plugin needs to be updated
- 4:04:50 PM weevlar : im going to do that real fast one second
- 4:04:52 PM Mike Bell: k
- 4:06:08 PM weevlar : /home/dailys/public_html/wp-content/plugins/disqus-popular-posts
- 4:06:12 PM weevlar : there's the path to the plugin
- 4:06:17 PM weevlar : see what you can do
- 4:06:21 PM weevlar : don't break the site
- 4:06:30 PM Mike Bell: no problem. i will tread lightly
- 4:06:50 PM Mike Bell: hate to discuss payment before ive started but
- 4:07:13 PM weevlar : i can kick you like 50bux, this site makes no money
- 4:07:20 PM weevlar : hopefully you take bitcoin
- 4:07:22 PM Mike Bell: thats cool. should be an easy deal then.
- 4:07:26 PM Mike Bell: actually i prefer bitcoin
- 4:07:28 PM weevlar : because we're all cut the fuck off of everything else
- 4:07:29 PM Mike Bell: so thats perfect
- 4:08:01 PM Mike Bell: lemme get rolling and ill get back to you in a while
- 4:16:03 PM Mike Bell: uh
- 4:16:11 PM Mike Bell: connection refused
- 4:16:22 PM weevlar : connection refused where
- 4:16:24 PM Mike Bell: ssh
- 4:16:55 PM Mike Bell: is it a diff port?
- 4:18:17 PM weevlar : 3022
- 4:18:22 PM weevlar : try without sshing first
- 4:18:23 PM weevlar : i mean
- 4:18:25 PM weevlar : the plugin is installed
- 4:18:33 PM Mike Bell: oh right, just login to the site
- 4:18:41 PM Mike Bell: is the site set up for r/w?
- 4:18:45 PM weevlar : no
- 4:18:47 PM weevlar : but
- 4:18:53 PM weevlar : all the action in that plugin
- 4:19:17 PM weevlar : happens with disqus
- 4:19:44 PM weevlar : just google disqus popular posts
- 4:19:45 PM weevlar : to read the source
- 4:20:25 PM Mike Bell: ok
- 4:20:46 PM Mike Bell: so the plugin isnt currently installed
- 4:20:52 PM weevlar : it's installed
- 4:20:57 PM weevlar : you can enable it right now
- 4:24:01 PM Mike Bell: alright i have the plugin source
- 4:25:57 PM weevlar : http://www.dailystormer.com/wp-admin/options-general.php?page=disqus-popular-posts
- 4:25:59 PM weevlar : so if you go here
- 4:26:05 PM weevlar : and go under debugging
- 4:26:12 PM weevlar : and click the disqus api call
- 4:26:18 PM weevlar : it says the API key is not valid
- 4:26:30 PM weevlar : i gave you the disqus login above
- 4:26:35 PM weevlar : if you want to login to disqus
- 4:26:40 PM weevlar : and figure the api shit out
- 4:26:44 PM Mike Bell: oh interesting
- 4:26:55 PM Mike Bell: ok yea, just putting together what the situation is / what i need to do
- 4:27:19 PM Mike Bell: err
- 4:27:25 PM Mike Bell: i clicked the api call
- 4:27:29 PM Mike Bell: and it shat out json
- 4:27:36 PM Mike Bell: lots of json
- 4:27:41 PM weevlar : srs?
- 4:27:44 PM Mike Bell: yea
- 4:27:54 PM weevlar : {"code":11,"response":"Your API key is not valid on this domain"}
- 4:27:56 PM weevlar : thats all i get
- 4:28:02 PM weevlar : when i visit http://disqus.com/api/3.0/threads/listPopular.json?api_key=lGHD4BlIOHq0yItQYVg8zHNIqJdrJ69CQRmVcdys8Ptqg7CiQydksr2ZWMihEYgh&forum=dailystormer&interval=7d&limit=10
- 4:28:29 PM Mike Bell: http://pastebin.com/vp4DNp70
- 4:28:33 PM Mike Bell: this is what i got
- 4:29:06 PM Mike Bell: that error u get wouldnt have to do with your geolocale right
- 4:29:23 PM weevlar : nfc
- 4:29:30 PM weevlar : but if it is
- 4:29:39 PM weevlar : that means it's bad for shittons of other people too
- 4:29:44 PM Mike Bell: right
- 4:29:51 PM Mike Bell: it needs to be consistent
- 4:29:55 PM weevlar : yeah
- 4:29:59 PM weevlar : so i dunno, cache results locally
- 4:30:01 PM weevlar : and then serve them or something
- 4:30:36 PM Mike Bell: ill try to figure out whats going on
- 4:31:04 PM Mike Bell: would help if i could dupe the error but ill play around with it a bit
- 4:31:37 PM weevlar : yeah you are right
- 4:31:48 PM weevlar : most other shit i am trying
- 4:31:51 PM weevlar : from other hosts
- 4:31:53 PM weevlar : gets it fine
- 4:31:55 PM Mike Bell: whoa, rly? geolocale?
- 4:31:57 PM Mike Bell: fuck
- 4:32:00 PM weevlar : dunno what the fuck is up
- 4:32:16 PM Mike Bell: i have an idea. lemme try vpn'ing from outside the us
- 4:32:24 PM weevlar : i tried from latvia
- 4:32:28 PM weevlar : and bosnia
- 4:32:32 PM weevlar : latvia doesn't work
- 4:32:34 PM weevlar : bosnia does
- 4:32:37 PM Mike Bell: wow
- 4:33:01 PM Mike Bell: yea. its possible disqus is blocked somewhere. we'll see. lemme dig
- 4:33:10 PM Mike Bell: i was just musing but wow.
- You have disconnected (4:35:51 PM)
- You have connected (4:36:11 PM)
- 4:39:14 PM Mike Bell: successfully duped the error
- 4:39:21 PM Mike Bell: singapore and israel work
- 4:39:24 PM Mike Bell: brazil failed
- 4:40:17 PM Mike Bell: gonna try the rest on my list. a list of failing countries might be useful
- 4:44:21 PM Mike Bell: well shit i take it back brazil works now wtf
- 4:45:02 PM Mike Bell: so does mexico. fuck. what the shit
- 4:46:46 PM Mike Bell: now that i think about it it shouldnt matter where we're VPNing from since the site is sitting somewhere but it doesn't help that the API call isnt consistent. ill look further
- You have disconnected (4:47:02 PM)
- You have connected (4:47:09 PM)
- 4:42:14 PM weevlar : http://www.dailystormer.com/
- 4:42:17 PM weevlar : there's a "top ten"
- 4:42:19 PM weevlar : widget on the side
- 4:42:21 PM weevlar : now
- 4:42:25 PM weevlar : the plugin is active
- 4:42:32 PM weevlar : im on a host that can view the debugger api call
- 4:42:35 PM weevlar : still doesn't work
- 4:42:40 PM weevlar : sorta infuriating
- 4:42:55 PM weevlar : you could also just take that code and modify the template
- 4:43:10 PM weevlar : i dunno
- 4:51:16 PM Mike Bell: password for the disqus account isnt working
- 4:51:40 PM Mike Bell: verified multiple times. 100% sure im typing it as you listed. also fails via copypaste
- 4:51:46 PM weevlar : well
- 4:51:50 PM weevlar : i dont think that matters now
- 4:51:52 PM weevlar : we know the API key works
- 4:51:59 PM weevlar : i thought it was broken
- 4:52:04 PM Mike Bell: http://stackoverflow.com/questions/18610629/disqus-sso-your-api-key-is-not-valid-on-this-domain
- 4:52:22 PM Mike Bell: might be an issue w/ the disqus account app settings
- 4:52:46 PM Mike Bell: only reason i was trying to login but yea, inconsistency blows
- 4:56:12 PM weevlar : well, right now it's working in one way
- 4:56:30 PM weevlar : try to see if you can just get the data as is
- 4:56:35 PM weevlar : and get it to display
- 4:57:59 PM Mike Bell: k
- 4:58:12 PM weevlar : ideally it wouldn't be ajaxy at all
- 4:58:39 PM weevlar : doesn't even need to necessarily be the plugin
- 5:03:49 PM Mike Bell: oh, i see…so the plugin is enabled but not displaying
- 5:04:11 PM weevlar : yeah
- 5:04:12 PM weevlar : by the way
- 5:04:18 PM weevlar : all the pages are cached
- 5:04:39 PM weevlar : so
- 5:04:44 PM weevlar : every time you changed something
- 5:05:09 PM Mike Bell: i havent changed anything yet, but is there a way to disable page caching?
- 5:05:16 PM weevlar : no
- 5:06:15 PM Mike Bell: that makes this kind of hard to debug
- 5:06:37 PM weevlar : you can delete the cached copy
- 5:06:39 PM weevlar : and it will regenerate
- 5:06:44 PM Mike Bell: oh, you mean locally?
- 5:06:50 PM weevlar : yes
- 5:06:51 PM Mike Bell: kk
- 5:07:02 PM weevlar : hold
- 5:08:42 PM weevlar : so
- 5:08:46 PM weevlar : only do this for the front page
- 5:08:53 PM weevlar : don't clear the entire cache
- 5:09:03 PM weevlar : because it will fuck up the website bad
- 5:09:06 PM weevlar : /home/dailys/public_html/wp-content/cache/supercache/www.dailystormer.com
- 5:09:10 PM weevlar : that's the cache directory
- 5:09:16 PM Mike Bell: oh u mean on the server
- 5:09:24 PM weevlar : just delete index.html and index.html.gz
- 5:09:26 PM weevlar : from it
- 5:09:27 PM weevlar : yes
- 5:09:28 PM weevlar : on the server
- 5:09:50 PM Mike Bell: ok. well, i see the top ten displaying in my browser just no content now. this is a good starting point
- 5:09:57 PM Mike Bell: and yea, no problem re: server cache
- 5:09:57 PM weevlar : yeah
- 5:10:01 PM weevlar : now
- 5:10:05 PM weevlar : you have another option
- 5:10:08 PM weevlar : which is
- 5:10:16 PM weevlar : implement this in an iframe
- 5:10:25 PM weevlar : like just make your own php
- 5:10:31 PM weevlar : we can put it on the server
- 5:10:36 PM Mike Bell: i dont think that will be necessary, but i will keep that in mind. fuckin hate iframes lol
- 5:10:37 PM weevlar : and use the wordpress iframe widget
- 5:10:51 PM weevlar : to embed your code in the sidebar
- 5:11:52 PM Mike Bell: ssh is still asking for a password
- 5:12:10 PM Mike Bell: i set a passphrase on my key but it shouldnt be asking for a password
- 5:13:21 PM weevlar : the key you gave me
- 5:13:28 PM weevlar : is definitely in authorized_keys
- 5:13:59 PM weevlar : right next to mine
- 5:14:03 PM weevlar : paste it here
- 5:14:07 PM weevlar : i just wanna make sure
- 5:14:13 PM weevlar : irc didn't truncate the line length
- 5:15:18 PM Mike Bell: AAAAB3NzaC1yc2EAAAADAQABAAACAQCo0KuV1jBkmKfbY+0g2ejJi7huc9cHPySMBtJLTXnjmLJv78DVT1oIGW1YLbwvqqOxhKs4FcjzrO1+oEeq7Q1b/kZAQ5uWiuDE8keU1LtZp0X8Deoso2jKt1cgbfTc+v8zHZ9b49SKZqQMsrGT6Z5hsLX7grzahQ2HfKAyUqq8U1S4uchU/VPVaHzrh/1wx5nsNSesnYgim1cJd+mqvvJc7zHk3rfMVV1bO/ibvLHTfSN9Ta0HdQ8xnVBrhxx+haKV/AUqK+8t8+Tau6V9H+JMu23I5dQVIhEPt/9eHnm88EUCjB+j44qsB23UOczGalqLsIeBgkF75JV7/Ss0vE3p3H4au7wMOnYfPoFvOm38kcrXXtiWsShANot2qqmm7rj2ZkuNa8cZR+F4fpVhJgDQZ002YyqCsN7/TZIM1xSuSTEzQUyQTyWck0I1zEvpPWe5blIr9fetXH5hsnWnni5EnxikuYKn4rXy2df7f6BIP7PRzQ3r9ST0Sr5J2w0ZjB6Z0PKtvzRz06StFxicK1onKikHqEXPT8y8bI9wQY/FimWYRgWQQO6lVCaC+YJvt8lk6B5cTO6dgXTAvLtsYNLuwFk9ls3G2ksvHP/iraR7artmnbGKL0MN+f+dCdWRWONiQw9/ZxGQ4MDJ1aCGNYKkVSSY2hRSViOYJKwtwpL+hQ== ezuratechan@gmail.com
- 5:17:01 PM Mike Bell: might need to check sshdconfig
- 5:17:20 PM weevlar : yup
- 5:17:23 PM weevlar : irc truncated key
- 5:17:26 PM Mike Bell: ffff
- 5:17:28 PM Mike Bell: lol
- 5:18:00 PM weevlar : try now
- 5:18:32 PM Mike Bell: im in
- 5:18:34 PM Mike Bell: thanks
- 5:20:23 PM Mike Bell: ive got a couple things to do around the house but ill be on this ASAP
- Changed status to Idle (6:50:14 PM)
- Changed status to Away: Away (6:50:30 PM)
- Changed status to Available (6:50:36 PM)
- Changed status to Idle (6:51:07 PM)
- 10:49:57 PM Mike Bell: 1. Verify you have entered the correct Disqus API Key and Disqus Shortname.
- 2. Take a look at the setting under Posts for Count Over How Many Days. If you have that set to a low value then try increasing it. What will happen is if you have that set to something like 1 day but you didn't have any comments during that time then you will have no results and nothing will show. The same is true if you are saving results and notice the last update was a long time ago. If it has nothing new in that time period then it will not update.
- 10:50:24 PM Mike Bell: trying #2, and since we verified the API key is correct, im not sure about the disqus shortname
- Changed status to Available (10:57:50 PM)
- Changed status to Online (10:58:04 PM)
- 10:58:33 PM weevlar : shortname is correct or it also wouldnt show any data
- 10:59:13 PM Mike Bell: thats what i thought after typing that. i just checked the days setting, 7 days, and tons of comments in that time frame
- 10:59:17 PM Mike Bell: im really at a loss
- 10:59:52 PM Mike Bell: i noticed ds is running nginx but that shouldn't have anything to do with the problem
- 11:01:56 PM Mike Bell: removing the cached index.html and index.html.gz one more time just to check
- 11:04:21 PM Mike Bell: OH shit
- 11:04:22 PM Mike Bell: ok
- 11:04:35 PM Mike Bell: so, try refreshing the API call in that debug dropdown
- 11:04:38 PM Mike Bell: a few times
- 11:04:43 PM Mike Bell: it is inconsistent as fuck
- 11:05:04 PM Mike Bell: its probably not even a problem on ds's end
- 11:05:17 PM Mike Bell: fuck disqus they didnt hire me anyway
- 11:05:22 PM weevlar : hahha
- 11:05:26 PM weevlar : okay well
- 11:05:32 PM weevlar : can you grab the data
- 11:05:34 PM weevlar : and cache it locally
- 11:05:40 PM weevlar : and let's load it in an iframe then
- 11:06:00 PM weevlar : if it's inconsistent than we can't do ajax via an api call
- 11:06:19 PM weevlar : or like, we don't need to do an iframe
- 11:06:25 PM Mike Bell: sec. seeing if this "save the results" checkbox will do anything
- 11:06:26 PM weevlar : but we can modify the template
- 11:06:44 PM Mike Bell: yea worst case we just hack shit in there tho unpreferable it might be the only option
- 11:09:09 PM Mike Bell: yea looks like thats what we will have to do
- 11:20:15 PM weevlar : if you make something local lmk the endpoint
- 11:20:19 PM weevlar : so i can poke holes in the caching stack
- 11:20:34 PM weevlar : there's also some application layer caching being done by cloudflare
- 11:20:40 PM weevlar : fyi— it doesn't occur for the frontpage
- 11:20:46 PM weevlar : but it occurs on all subpages
- 11:21:19 PM weevlar : because i assume that once a page is generated once it never needs to be generated again
- 11:21:30 PM Mike Bell: i was just gonna write something quick and dirty that checks for a local file with a timestamp and if the file doesn't exist or is old curls the API URL
- 11:21:50 PM weevlar : so if you do something local, ideally it will make an ajax call to dailystormer.com/topten/whatever.xml
- 11:21:52 PM weevlar : and display it
- 11:22:15 PM weevlar : then we don't have to use an iframe, and we can embed it in the page with no caching
- 11:22:27 PM Mike Bell: ill try ajax as well
- 11:44:24 PM Mike Bell: api call isnt working thru ajax, def works thru php curl. will whip up a caching mechanism then load local results thru ajax (likely)
- 12:33:16 AM Mike Bell: ive got something functional php-wise
- 12:34:01 AM Mike Bell: only issue remaining is to shove it into the index.php, style/format the json returned, and decide on where the cache file should go
- 12:35:08 AM Mike Bell: im ok with using an iframe if we have to
- 12:36:55 AM Mike Bell: also need to decide how often the cache file should be refreshed (time-delay in seconds)
- 12:47:17 AM weevlar : hours
- 12:47:48 AM Mike Bell: i know. just multiply by 3600
- Changed status to Away: Away (2:49:02 AM)
- Changed status to Idle (2:49:03 AM)
- Changed status to Available (2:49:13 AM)
- Changed status to Idle (2:49:44 AM)
- Changed status to Available (3:35:13 AM)
- Changed status to Online (3:35:16 AM)
- You have disconnected (3:42:03 AM)
- You have connected (2:24:35 PM)
- You have disconnected (3:28:07 PM)
- You have connected (6:58:54 PM)
- Changed status to Idle (4:29:36 AM)
- Changed status to Available (4:32:23 AM)
- Changed status to Online (4:32:29 AM)
- Changed status to Away: Away (11:23:09 AM)
- Changed status to Idle (11:23:10 AM)
- Changed status to Available (11:26:19 AM)
- Changed status to Online (11:26:24 AM)
- Changed status to Away: Away (3:46:11 PM)
- Changed status to Idle (3:46:11 PM)
- Changed status to Available (11:15:47 PM)
- Changed status to Online (11:15:53 PM)
- Changed status to Offline (1:02:02 AM)
- Changed status to Online (1:05:17 AM)
- Changed status to Away: Away (1:37:50 AM)
- Changed status to Idle (1:37:50 AM)
- Changed status to Available (1:37:51 AM)
- Changed status to Idle (1:38:22 AM)
- Changed status to Available (1:54:54 AM)
- Changed status to Online (1:55:00 AM)
- Changed status to Away: Away (3:52:51 AM)
- Changed status to Online (3:53:47 AM)
- Changed status to Idle (2:52:52 PM)
- Changed status to Away: Away (2:52:53 PM)
- Changed status to Available (2:52:55 PM)
- Changed status to Online (2:56:56 PM)
- Changed status to Away: Away (3:45:40 PM)
- Changed status to Idle (3:45:41 PM)
- Changed status to Available (3:49:13 PM)
- Changed status to Online (3:49:14 PM)
- Changed status to Away: Away (5:23:51 PM)
- Changed status to Idle (5:23:52 PM)
- Changed status to Offline (9:47:03 PM)
- Changed status to Online (9:47:04 PM)
- Changed status to Available (10:04:56 PM)
- Changed status to Online (10:05:18 PM)
- Changed status to Idle (1:41:39 AM)
- Changed status to Away: Away (1:41:40 AM)
- Changed status to Available (1:41:51 AM)
- Changed status to Idle (1:42:23 AM)
- Changed status to Available (1:43:13 AM)
- Changed status to Online (1:43:14 AM)
- Changed status to Away: Away (2:34:53 AM)
- Changed status to Idle (2:34:55 AM)
- Changed status to Available (2:59:34 AM)
- Changed status to Online (2:59:36 AM)
- Changed status to Idle (5:16:41 AM)
- Changed status to Away: Away (5:16:42 AM)
- Changed status to Available (5:16:53 AM)
- Changed status to Idle (5:17:45 AM)
- Changed status to Available (7:31:12 AM)
- Changed status to Online (7:31:16 AM)
- Changed status to Away: Away (7:42:10 AM)
- Changed status to Idle (7:42:11 AM)
- Changed status to Available (7:58:14 AM)
- Changed status to Online (7:58:17 AM)
- Changed status to Idle (9:22:04 AM)
- Changed status to Away: Away (9:22:04 AM)
- Changed status to Available (9:22:18 AM)
- Changed status to Idle (9:22:49 AM)
- Changed status to Available (10:08:42 AM)
- Changed status to Online (10:08:45 AM)
- You have disconnected (1:59:48 PM)
- You have connected (3:10:25 PM)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement